Subject | Re: [ib-support] more questions on use of generators |
---|---|
Author | Ann W. Harrison |
Post date | 2002-11-12T17:47:08Z |
At 02:06 PM 11/12/2002 +0800, Jon Perez wrote:
cascade and cause other inserts? Which is the last
insert?
other functions - any of the UDF functions for example,
or substring - they all need to be referenced in a query
expression...
the next available relation (i.e. table) id. The rdb$database
table is guaranteed to have exactly one entry and it's used
like the Oracle pseudo table called.... called.... called...
Damn, I hate senility.
Regards,
Ann
www.ibphoenix.com
We have answers.
>Sorry, to clarify I meant a SELECT in the form ofWhat does that mean if you've got triggers which
>SELECT <function> as in SELECT LAST_INSERT_ID()
cascade and cause other inserts? Which is the last
insert?
>whichIt does in a complete select statement. It behaves like
>makes intuitive sense to me as opposed to Firebird's:
>
>select gen_id(GENNAME, 0) as GenVal from RDB$Database
>
>which I can't figure out how it works because
>gen_id(GENNAME,n) does not return a value by itself,
other functions - any of the UDF functions for example,
or substring - they all need to be referenced in a query
expression...
>nor does there seem to be any entries in RDB$DatabaseYes, there's one tuple in rdb$database and it contains
>if one does a 'select * from RDB$Database'.
the next available relation (i.e. table) id. The rdb$database
table is guaranteed to have exactly one entry and it's used
like the Oracle pseudo table called.... called.... called...
Damn, I hate senility.
Regards,
Ann
www.ibphoenix.com
We have answers.