SHOW GENerators
SHOW {GENerators | SEQuences} [name]
SHOW GENerators
and [isql-show-sequences] are identical.Generators are the old Firebird term for what are more commonly known as sequences in the SQL standard and other databases.You are encouraged to use the term sequence rather than generator, but isql
considers them aliases.
The first form of the commands above list all user-defined sequences in the current database, while the second form displays details of a specific sequence.
SQL> show sequences; Generator CUST_NO_GEN, current value: 1015, initial value: 1, increment: 1 Generator EMP_NO_GEN, current value: 145, initial value: 1, increment: 1 SQL> show sequence emp_no_gen; Generator EMP_NO_GEN, current value: 145, initial value: 1, increment: 1