Thread: RE: [SQL] Kind of Funny

RE: [SQL] Kind of Funny

From
"Jackson, DeJuan"
Date:
> > 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