https://bugs.documentfoundation.org/show_bug.cgi?id=105220
Julien Nabet <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #11 from Julien Nabet <[email protected]> --- Just for the record because I'm not sure it could help here, I found a 2 steps way to do this: 1) Retrieve the generator name SELECT relfields.RDB$generator_name FROM RDB$RELATION_FIELDS relfields JOIN RDB$FIELDS fields on (fields.RDB$FIELD_NAME = relfields.RDB$FIELD_SOURCE) WHERE (1 = 1) AND relfields.RDB$RELATION_NAME = '<table>' 2) Use specific Firebird function SELECT GEN_ID( "<generator name>", 0 ) FROM RDB$DATABASE; -- You are receiving this mail because: You are the assignee for the bug.
