| От | PJ |
|---|---|
| Тема | Re: display query results |
| Дата | |
| Msg-id | 48932C6E.9030309@videotron.ca обсуждение исходный текст |
| Ответ на | Re: display query results (PJ <af.gourmet@videotron.ca>) |
| Список | pgsql-php |
You were quite right, the problem was a line feed after the word "Alcohol" Now it works fine. Thanks, I learned a lot .... :) Andy Shellam wrote: >> Haha, no worries, I've had the same issue before. >> It's almost certain that the text in your column does not exactly >> match "Alcohol" for one of a few reasons, e.g. >> >> "Alcohol " (right-padding) >> " Alcohol" (left-padding) >> " Alcohol " (padded both sides) >> >> will not match = 'Alcohol' in the query. >> Try trimming the data in that field - from PgAdmin or some other >> query tool, run something like: >> >> |UPDATE glossary_item SET "name" = |trim(both ' ' from "name")
В списке pgsql-php по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера