finding strings with quotes

Поиск
Список
Период
Сортировка
От Christine Penner
Тема finding strings with quotes
Дата
Msg-id 4D6814D6.9000507@fp2.ca
обсуждение исходный текст
Ответы Re: finding strings with quotes  (Bosco Rama <postgres@boscorama.com>)
Re: finding strings with quotes  (Alban Hertroys <dalroi@solfertje.student.utwente.nl>)
Список pgsql-general
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@fp2.ca

В списке pgsql-general по дате отправления:

Предыдущее
От: Rich Shepard
Дата:
Сообщение: Re: pgAdmin3 Issue
Следующее
От: Raymond O'Donnell
Дата:
Сообщение: Re: pgAdmin3 Issue