Обсуждение: Problems Escaping quotes by backslash with PsqlODBC

Поиск
Список
Период
Сортировка

Problems Escaping quotes by backslash with PsqlODBC

От
"Walter, Gregor"
Дата:
hi,

I am using the pgadmin windows tool with the latest PsqlODBC drivers.
The problem seems to be, that running a query with escaped quotes like
[Select * from test where xyz like 'pete\'s cafe'] doesnt work, but
using 2 single quotes works: [Select * from test where xyz like 'pete''s
cafe'].
But I can run both queries on the psql command line interface on linux.

Can this be a problem with the ODBC or is there a setting that can be
changed to also allow both ways?

thanks,
Gregor Walter
GW@Globalfulfillment.com