2021年9月28日 星期二

[ postgresql ] 手動修改資料表資料 及 序號歸零計算

 

手動修改資料如下

先在Data Output上點到想修改的data, 直接修改











然後改完之後在上方有一個資料表箭頭向下的button

點選這個它就會把你修改的部分儲存下來






序號歸零可以使用以下語法

TRUNCATE TABLE doctor_detail RESTART IDENTITY;


參考

https://stackoverflow.com/questions/5342440/reset-auto-increment-counter-in-postgres

沒有留言:

張貼留言

invalid packging for parent POM com.xxxxxx:1.0SNAPSHOT must be "pom" but is "jar"

 出現在專案上面冒紅線, 並有紅字invalid packing...... 在本專案的原因是, 這裡有母子專案 有在子專案pom檔中聲明parent <parent> <artifactId> heima-leadnews-test </a...