I'm trying to do the same thing. Like this:
ALTER SEQUENCE (
SELECT SEQUENCE_NAME
FROM INFORMATION_SCHEMA.COLUMNS
WHERE
TABLE_NAME = 'MY_TABLE'
AND
COLUMN_NAME = 'ID'
) RESTART WITH 7;
Is this possible somehow?
--
You received this message because you are subscribed to the Google Groups "H2
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/d/optout.