Re: query to match '\N'

Поиск
Список
Период
Сортировка
От Nis Jørgensen
Тема Re: query to match '\N'
Дата
Msg-id f8kctm$jc6$1@sea.gmane.org
обсуждение исходный текст
Ответ на Re: query to match '\N'  (Alban Hertroys <alban@magproductions.nl>)
Ответы Re: query to match '\N'  (Alban Hertroys <alban@magproductions.nl>)
Список pgsql-general
Alban Hertroys skrev:

> Presumably he wanted col2 like E'%\\\\N%'.
> But doesn't \N mean NULL, or would the OP be looking for literal '\N'
> strings in his data? Because if he's looking for NULLs it may be better
> to query for col2 IS NULL.

My guess is that this string was used to signify NULL in the file
originally imported into the db.

Nis



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

Предыдущее
От: Alban Hertroys
Дата:
Сообщение: Re: query to match '\N'
Следующее
От: Alban Hertroys
Дата:
Сообщение: Re: query to match '\N'