Subject | Re: [Firebird-Java] Get generator field value |
---|---|
Author | Roman Rokytskyy |
Post date | 2005-09-07T10:07:09Z |
> This won't work. You need to do this with a BEFORE INSERT trigger. SeeMy fault. Sorry. Helen is right.
> http://firebird.sourceforge.net/index.php?op=faq#q0011.dat
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?
Roman