| От | Tom Lane |
|---|---|
| Тема | Re: [NOVICE] Trouble with IN operator |
| Дата | |
| Msg-id | 29384.1486147258@sss.pgh.pa.us обсуждение |
| Ответ на | Re: [NOVICE] Trouble with IN operator (Chuck Roberts <croberts@gilsongraphics.com>) |
| Ответы |
Re: [NOVICE] Trouble with IN operator
|
| Список | pgsql-novice |
Chuck Roberts <croberts@gilsongraphics.com> writes:
> I think this might be a data problem. If anyone else has an idea, it's
> welcome.
Well, the obvious question is, are you sure you have records that *should*
match the condition?
Plain "trim" is not very bright, it will only remove characters that are
plain ASCII spaces. I'm wondering a bit about whether there's carriage
returns, tabs, non-breaking spaces, or other weird kinds of whitespace in
your data, which might make it so records that look like they contain
"540" don't actually match.
regards, tom lane
В списке pgsql-novice по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера