| От | Joe Sunday |
|---|---|
| Тема | Re: ERROR: column 'xxx' does not exist (under v. 7.4.1) |
| Дата | |
| Msg-id | 20040402191741.GA25089@csh.rit.edu обсуждение исходный текст |
| Ответ на | ERROR: column 'xxx' does not exist (under v. 7.4.1) (Iker Arizmendi <iker@research.att.com>) |
| Список | pgsql-general |
On Thu, Feb 05, 2004 at 10:00:21AM -0500, Iker Arizmendi wrote: > > Using psql and running as the owner of the table "app" I > try to access the columns of the table like so: > > SELECT * FROM app; > > which returns all the columns in the table including > the one I'm interested in, which is "companyID". > If instead I use something like: > > SELECT companyID FROM app; > > I get the following: > > ERROR: column "companyid" does not exist > SELECT "companyID" FROM app; You've stored a case sensitive column name in the table, but by default Postgres will fold all identifiers to lower case unless quoted. --Joe -- Joe Sunday <sunday@csh.rit.edu> http://www.csh.rit.edu/~sunday/ Computer Science House, Rochester Inst. Of Technology
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера