| От | Sean Davis |
|---|---|
| Тема | Re: Column Name = column does not exist |
| Дата | |
| Msg-id | 45A2C9E1.6010804@mail.nih.gov обсуждение исходный текст |
| Ответ на | Column Name = column does not exist (brian stapel <brians_224@hotmail.com>) |
| Список | pgsql-novice |
brian stapel wrote: > Thanks for your time. > > I'm in the process of trying to incorporate three Human Resource > systems into one. Each of the three systems had a different author > and no standards were followed - consequently the table design leaves > a bit to be desired. One of the most critical tables has a field > named:Last_Name (case specific). When I execute 'Select Last_Name > from employee' the statement fails with the following message: column > "last_name" does not exist. If I wrap the field name in quotes > "Last_Name" for example, the query works as expected. > > Is this typical behavior? > Yes. Postgresql case-collapses unless things are quoted. The rule of thumb is, if you quote anywhere, you probably should quote EVERYWHERE. Sean
В списке pgsql-novice по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера