SYSTEM_SEQUENCES should not be used for getting sequence
values. Use your own tables. For example
SELECT NEXT VALUE FOR login_password_SEQ FROM my_table;
Sequences are designed mainly for inserting new rows, or for
updating existing rows, e.g.
INSERT INTO my_table (a, b, c) VALUES (NEXT VALUE FOR
login_password_seq, 10, 'a string');
Fred
|
- [Hsqldb-developers] Issue with SEQUENCE Nitin Uchil
- [Hsqldb-developers] Re: Issue with SEQUENCE fredt