ALTER SEQUENCE (select pg_get_serial_sequence('table', 'id')) RESTART WITH
1;

The query fails:
ALTER SEQUENCE (select pg_get_serial_sequence('table...
it's because of the (

I guess I'm using the wrong syntax.
It is possible this way? Would be great!

Best,
Peter

Reply via email to