How to declare a function with a select statement to reset all auto_increment values to max id of the tables in postgresql

后端 未结 0 735
孤城傲影
孤城傲影 2020-12-19 13:01

In the name of ALLAH
I have a postgres database with many tables. I want to declare a function that reset all auto_increment values (next_value) of all the tables to m

相关标签:
回答
  • 消灭零回复
提交回复
热议问题