Postgres manually alter sequence

前端 未结 5 1537
盖世英雄少女心
盖世英雄少女心 2020-11-28 18:56

I\'m trying to set a sequence to a specific value.

SELECT setval(\'payments_id_seq\'), 21, true

This gives an error:

5条回答
提交回复
热议问题