Re: [GENERAL] finding strings with quotes

2011-02-26 Thread Alban Hertroys
On 25 Feb 2011, at 21:45, Christine Penner wrote: > 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 >

Re: [GENERAL] finding strings with quotes

2011-02-25 Thread Bosco Rama
Christine Penner wrote: > 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' There are a couple of ways to do this in PG but the easiest and closest to the s