Re: column name is "LIMIT"

From: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
To: Gourish Singbal <gourish(at)gmail(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: column name is "LIMIT"
Date: 2005-03-14 07:21:53
Message-ID: 42353B91.5050004@familyhealth.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Put "" around the column name, eg:

insert into "limit" values (1, 2,3 );

Chris

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
>
> Any Help would be realyl great to solve the problem.
>
> postgresql 7.4.5 and linux OS
>

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Russell Smith 2005-03-14 07:25:22 Re: column name is "LIMIT"
Previous Message Gourish Singbal 2005-03-14 07:14:08 column name is "LIMIT"