Subject | Re: [Firebird-Java] Get generator field value |
---|---|
Author | Adriano dos Santos Fernandes |
Post date | 2005-09-09T14:13:46Z |
Roman Rokytskyy wrote:
Adriano
>>This won't work. You need to do this with a BEFORE INSERT trigger. Seehttp://groups.yahoo.com/group/Firebird-Architect/message/7048
>>http://firebird.sourceforge.net/index.php?op=faq#q0011.dat
>
>
> My fault. Sorry. Helen is right.
>
> CREATE TABLE table [EXTERNAL [FILE] ’filespec’]
> (<col_def> [, <col_def> | <tconstraint> …]);
>
> <col_def> = col {<datatype> | COMPUTED [BY] (<expr>) | domain}
> [DEFAULT {literal | NULL | USER}]
> [NOT NULL]
> [<col_constraint>]
> [COLLATE collation]
>
> What speaks against changing it to
>
> <col_def> = ...
> DEFAULT {literal | <expr> | NULL | USER}
>
> Is there any conceptual issue here?
>
Adriano