Subject | Re: [firebird-support] Re: known token error but I don't know why!!! |
---|---|
Author | Helen Borrie |
Post date | 2008-06-04T02:11:25Z |
At 11:51 AM 4/06/2008, you wrote:
FYI, the order is
DEFAULT <default-value>
NOT NULL
<CONSTRAINT DEFINITION>
./heLen
>I tried the following also but still got an error.CON> au_auth char(1) default 'r' not null check(value in ('r','w','d')),
>
>SQL> create table test(
>CON> my_id varchar(255) character set none default '' not null,
>CON> au_menu varchar(20) character set none default '' not null,
>CON> au_auth char(1) check(value in ('r','w','d')) default 'r' not
>null,
FYI, the order is
DEFAULT <default-value>
NOT NULL
<CONSTRAINT DEFINITION>
./heLen