当前位置:网站首页>Oracle create auto increment ID
Oracle create auto increment ID
2022-07-01 07:38:00 【Xeon_ CC】
- Create a sequence
create sequence seq_hyqf_warn_dumping minvalue 1 maxvalue 999999999999999999 start with 1 increment by 1 nocache
- Create a trigger
create or replace trigger seq_hyqf_warn_dumping
before insert on HYQF_WARN_DUMPING
for each row
begin
select seq_hyqf_warn_dumping.nextval into :new.OBJECTID from dual;
end;
- Delete sequence
DROP SEQUENCE seq_hyqf_warn_dumping;
边栏推荐
- [programming training 2] sorting subsequence + inverted string
- Microsoft announces open source (Godel) language model chat robot
- MySQL and redis consistency solution
- 力扣——求一组字符中的第一个回文字符
- 运维面临挑战?智能运维管理系统来帮您
- Warm congratulations on the successful listing of five elements hehe liquor
- Basic knowledge of MATLAB
- [classification model] Q-type cluster analysis
- Solution to the problem that objects in unity2021 scene view cannot be directly selected
- Vscode automatically formats code according to eslint specification
猜你喜欢

Are there any practical skills for operation and maintenance management

LeetCode+ 71 - 75

论文学习——水文时间序列相似性查询的分析与研究

她就是那个「别人家的HR」|ONES 人物

Redisson uses the complete solution - redisson official documents + Notes (Part 1)

Will Internet talents be scarce in the future? Which technology directions are popular?

Caesar

【推荐系统】美团外卖推荐场景的深度位置交互网络DPIN的突破与畅想

Apple account password auto fill

Mysql与Redis一致性解决方案
随机推荐
软件测试方法和技术 - 基础知识概括
三极管是一项伟大的发明
2022茶艺师(初级)操作证考试题库及模拟考试
PWN攻防世界int_overflow
2022 electrician (intermediate) recurrent training question bank and answers
良心安利万向轮 SolidWorks模型素材网站
【R语言】年龄性别频数匹配 挑选样本 病例对照研究,对年龄性别进行频数匹配
【深圳IO】精确食品称(汇编语言的一些理解)
Oracle创建自增id
redisson使用全解——redisson官方文档+注释(下篇)
Todolist classic case ①
电脑有网络,但所有浏览器网页都打不开,是怎么回事?
华为ModelArts训练Alexnet模型
Minecraft 1.16.5模组开发(五十一) 方块实体 (Tile Entity)
C language implementation [Sanzi chess game] (step analysis and implementation source code)
kubernetes资源对象介绍及常用命令(二)
【剑指offer&牛客101】中那些高频笔试,面试题——链表篇
[microservice openfeign] feign's log record
Missing API interface actual development series (14): ID card real name authentication verification
Ctfhub port scan (SSRF)