select MAXSYSACCEPT.nextval from dual; (序列号检索 增1)
alter sequence MAXSYSACCEPT increment by 1 cache 20; (序列号设置 增1)
alter sequence MAXSYSACCEPT increment by 50 nocache; (序列号设置 增50
转载于:https://www.cnblogs.com/husam/p/5783291.html
本文介绍了在Oracle数据库中如何使用SQL语句操作序列,包括检索序列的下一个值并使其递增,以及修改序列的递增方式。通过具体示例,展示了序列号检索增1、设置序列号增1和增50的操作方法。
select MAXSYSACCEPT.nextval from dual; (序列号检索 增1)
alter sequence MAXSYSACCEPT increment by 1 cache 20; (序列号设置 增1)
alter sequence MAXSYSACCEPT increment by 50 nocache; (序列号设置 增50
转载于:https://www.cnblogs.com/husam/p/5783291.html

被折叠的 条评论
为什么被折叠?
