Search Postgresql Archives

finding strings with quotes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm trying to do a select to find on a char field that has a single quote but getting errors. This is what I'm doing:

Select * from f_buildings where B_STRET_LNE_CON='BERLETT\'S ROAD'

The text I'm trying to find is BERLETT'S ROAD

If I do the same thing but have double quotes in the string instead of single quotes this works.
-- 
Christine Penner
Ingenious Software
250-352-9495
chris@xxxxxx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux