Issue #1853: try to fix column definition changes on MS SQL wrt collation quoting and default value

This commit is contained in:
Ansgar Becker
2025-05-16 14:44:38 +02:00
parent 3701c6054d
commit 686ef30fb4
2 changed files with 6 additions and 4 deletions

View File

@ -725,7 +725,7 @@ begin
ColSpec := Col.SQLCode(OverrideCollation);
case Col.Status of
esModified: begin
Specs.Add(Format(AlterColBase, [Conn.QuoteIdent(Col.OldName), ColSpec]));
Specs.Add(Format(AlterColBase, ['', ColSpec]));
end;
esAddedUntouched, esAddedModified: begin
Specs.Add(Format(AddColBase, [ColSpec]));