From: Jackson, DeJuan <djackson@cpsgroup.com>
To: Bruce Momjian <maillist@candle.pha.pa.us>
To: fmorton@base2inc.com
Cc: pgsql-sql@postgreSQL.org
Subject: RE: [SQL] Kind of Funny
Date: Wed, 6 Jan 1999 13:32:27 -0600
Message-ID: <F10BB1FAF801D111829B0060971D839F5B94D0@cpsmail> (raw)
> > Not thinking, as I often tend to do, I created a table named "order"
> > and was confused to find the following query does not work:
> >
> > select * from order;
> >
> > I recognize that my name selection is questionable, but shouldn't
> > this still work?
>
> No. Keywords are not over-loadable, as they are in Pascal,
> and to do it
> is a real pain because the parser can't determine right away
> what it is.
But you can get at it if you quote your table name:
select * from "order";
-DEJ
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: djackson@cpsgroup.com, maillist@candle.pha.pa.us, fmorton@base2inc.com
Subject: Re: [SQL] Kind of Funny
In-Reply-To: <F10BB1FAF801D111829B0060971D839F5B94D0@cpsmail>
References: <F10BB1FAF801D111829B0060971D839F5B94D0@cpsmail>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox