column does not exist Error

Поиск
Список
Период
Сортировка
От Ramy Abdel-Azim
Тема column does not exist Error
Дата
Msg-id CAHjAGiN4Guq3uwa+XQKhAsx51FV5hNcCOqPyftA_Y=JBHC4psg@mail.gmail.com
обсуждение исходный текст
Ответы Re: column does not exist Error  (Ramy Abdel-Azim <ramy.abdel-azim@startdatelabs.com>)
Список pgsql-novice
Hello,

I'm getting a confusing error message. I'm trying to insert a row into a database table called "users". I'm trying to insert using the form:

insert into table (column, column1, column2)
values (value, value1, value2)

however, i'm getting an error message that, relative to the query i provide above, would say this:

ERROR:  column value1 does not exist

LINE 5:   "value1","value2"

               ^

....I didn't specify value1 AS a column. Why is it telling me the value i'm trying to insert is not a column. It shouldn't be a column. Why does it think it IS a column?


Thanks,

_Ramy

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

Предыдущее
От: Larry Rosenman
Дата:
Сообщение: Re: psql
Следующее
От: Ramy Abdel-Azim
Дата:
Сообщение: Re: column does not exist Error