Subject | Re: [firebird-support] Keyword as column name |
---|---|
Author | Lester Caine |
Post date | 2004-04-14T09:15:21Z |
agentsinaction wrote:
But personally I would go with a different name anyway.
--
Lester Caine
-----------------------------
L.S.Caine Electronic Services
> My problem is that a column name is a keyword for Firebird.select test."min" from test
>
> create table test (min varchar primary key);
>
> I found out that this works:
>
> create table test ("min" varchar primary key);
>
> Using "select * from test" seems to work correctly. But how can I
> select that column?
>
> select min from test;
> select "min" from test;
> select test.min from test;
> select "test.min" from test;
But personally I would go with a different name anyway.
--
Lester Caine
-----------------------------
L.S.Caine Electronic Services