Re: column name is "LIMIT"

Поиск
Список
Период
Сортировка
От Russell Smith
Тема Re: column name is "LIMIT"
Дата
Msg-id 200503141825.22827.mr-russ@pws.com.au
обсуждение исходный текст
Ответ на column name is "LIMIT"  (Gourish Singbal <gourish@gmail.com>)
Ответы Re: column name is "LIMIT"
Список pgsql-performance
On Mon, 14 Mar 2005 06:14 pm, Gourish Singbal wrote:
> Guys,
>
> I am having a problem firing queries on one of the tables which is
> having "limit" as the column name.
>
> If a run an insert/select/update command on that table i get the below error.
>
> ERROR:  syntax error at or near "limit" at character 71

select "limit" from limit_table WHERE "limit" < 50 LIMIT 2;

You need to quote the field name, and make sure the case is correct.
>
> Any Help would be realyl great to solve the problem.
>
> postgresql 7.4.5 and linux OS
>
You should probably upgrade to 7.4.7

Regards

Russell Smith.

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

Предыдущее
От: Christopher Kings-Lynne
Дата:
Сообщение: Re: column name is "LIMIT"
Следующее
От: Miroslav Šulc
Дата:
Сообщение: Re: How to read query plan