Re: ​ERROR: syntax error at or near "collation"

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: ​ERROR: syntax error at or near "collation"
Дата
Msg-id CAKFQuwbnktfh-VrPUwXeSV4woWUxMxxYeG633Ch-k-U7EaOP1Q@mail.gmail.com
обсуждение исходный текст
Ответ на Re: ​ERROR: syntax error at or near "collation"  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-admin


On Thursday, January 13, 2022, David G. Johnston <david.g.johnston@gmail.com> wrote:
On Thursday, January 13, 2022, dbatoCloud Solution <dbatocloud17@gmail.com> wrote:

Hi All,

I am getting the below error while executing sql file in postgresql ? Can somebody suggest plz?


SETpsql:comsod_db_structure.sql:48: ERROR:  syntax error at or near "collation"

LINE 37:  collation varchar(100)


Don’t use reserved words as column names.


Precisely…the word being complained about, “collation”, is reserved [1].  Rename the column or double-quote it.


David J.

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

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: ​ERROR: syntax error at or near "collation"
Следующее
От: Laurenz Albe
Дата:
Сообщение: Re: database encoding and collation.