LoginSignup
0
0

More than 5 years have passed since last update.

PostgreSQL シーケンス操作 備忘録

Posted at
  • シーケンス値表示

    • 現在値 SELECT last_value FROM シーケンス名;
    • 最小値 SELECT min_value FROM シーケンス名;
    • 最大値 SELECT max_value FROM シーケンス名;


  • シーケンス値更新
SELECT setval('シーケンス名' , 更新する値);
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0