# | Line 415 | Line 415 | end; | |
---|---|---|
415 | function QuoteIdentifierIfNeeded(Dialect: Integer; Value: AnsiString): AnsiString; | |
416 | begin | |
417 | if (Dialect = 3) and | |
418 | < | (IsReservedWord(Value) or not IsSQLIdentifier(Value)) then |
418 | > | (IsReservedWord(Value) or not IsSQLIdentifier(Value) or (AnsiUpperCase(Value) <> Value)) then |
419 | Result := '"' + Value + '"' | |
420 | else | |
421 | Result := Value |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |