Does Delphi have any way to escape symbols embedded in strings? I'm trying to write a database project, and have just run into a rather nasty problem; the db I'm working with, PostgreSQL, refuses to recognize equality to date functions unless the value being tested is contained within a pair of single quotes. It treats unquoted date strings as integers, and if I use double quotes, PostgreSQL tries to read it as the name of a column, not a data value.

Is there any way to escape the single quotes from within my sql statements I'm building in delphi, or do I need to look for a solution elsewhere?

Thanks in advance,

11 Years
Discussion Span
Last Post by EnderX
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.