📜  postgres 重启 id - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:14.749000             🧑  作者: Mango

代码示例1
-- if you dont mind losing the data, do the following
TRUNCATE TABLE someTable RESTART IDENTITY;