What is the difference?

Поиск
Список
Период
Сортировка
От Oluwatope Akinniyi
Тема What is the difference?
Дата
Msg-id BLU128-W4523FD3F40213696A3E669DBA50@phx.gbl
обсуждение исходный текст
Ответы Re: What is the difference?  (Richard Huxton <dev@archonet.com>)
Re: What is the difference?  (Ivan Sergio Borgonovo <mail@webthatworks.it>)
Список pgsql-general
This
SELECT 1 WHERE '95b5a221aeba15c' IN (E'\'' || replace('95b5a221aeba15c+fb4e7219ab898ce+b08586cb81059f9','+',''',''') || E'\'') returns no row while

SELECT 1 WHERE '95b5a221aeba15c' IN ('95b5a221aeba15c','fb4e7219ab898ce','b08586cb81059f9') returns a row.

What is the difference between E'\'' || replace('95b5a221aeba15c+fb4e7219ab898ce+b08586cb81059f9','+',''',''') || E'\'' and '95b5a221aeba15c','fb4e7219ab898ce','b08586cb81059f9'?

Cheers,
Chris



Get news, entertainment and everything you care about at Live.com. Check it out!

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

Предыдущее
От: Scott Marlowe
Дата:
Сообщение: Re: Performance of subselects
Следующее
От: Richard Huxton
Дата:
Сообщение: Re: What is the difference?