您的位置:首页 > 数据库 > Oracle

oracle数据库创建Squence序列并查询

2018-02-08 14:11 169 查看
create sequence test1
minvalue 1
maxvalue 9999
start with 1
increment by 1
nocache;
创建test1序列

select test1.nextval from sys.dual;
查询test1序列,每次查询加1
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: