Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何射击序列从 100 跳到 150,然后是 152,153 等等。.
如果您的序列seq1现在为 100,并且您希望它达到 150,您可以:
seq1
在 SQL 术语中:
alter sequence seq1 increment by 50; select seq1.nextval from dual; alter sequence seq1 increment by 1;