Created
June 1, 2020 12:58
-
-
Save yuhangch/835fdc7ccdfdb507b9ba6929f77b5922 to your computer and use it in GitHub Desktop.
Update Auto Increasing ID Next Value in PostgreSQL.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select setval('record_id_seq', (select max(id) from record)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment