Answers for "how to set sequence value in postgresql"

SQL
1

check current sequence value postgres

SELECT last_value FROM sequence_name;
Posted by: Guest on April-17-2020
0

postgresql alter table sequence

alter sequence your_sequence restart with 1000;
Posted by: Guest on February-26-2020

Code answers related to "how to set sequence value in postgresql"

Code answers related to "SQL"

Browse Popular Code Answers by Language