当前位置:网站首页>Oracle创建自增id
Oracle创建自增id
2022-07-01 07:20:00 【Xeon_CC】
- 创建一个序列
create sequence seq_hyqf_warn_dumping minvalue 1 maxvalue 999999999999999999 start with 1 increment by 1 nocache
- 创建一个触发器
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;
- 删除序列
DROP SEQUENCE seq_hyqf_warn_dumping;
边栏推荐
- 【LINGO】求七个城市最小连线图,使天然气管道价格最低
- C语言实现【扫雷游戏】完整版(实现源码)
- Will Internet talents be scarce in the future? Which technology directions are popular?
- [target detection] yolov5, the shoulder of target detection (detailed principle + Training Guide)
- The programmer of Beipiao posted a post for help late at night: I am lonely when my girlfriend is gone
- Mysql与Redis一致性解决方案
- How to create an exclusive vs Code theme
- STM32F1与STM32CubeIDE编程实例-NEC协议红外接收与解码
- 1286_ Implementation analysis of task priority setting in FreeRTOS
- [network planning] (I) hub, bridge, switch, router and other concepts
猜你喜欢
[Shenzhen IO] precise Food Scale (some understanding of assembly language)
How to draw a product architecture diagram?
【LINGO】求解二次规划
热烈祝贺五行和合酒成功挂牌
[chapter 72 of the flutter problem series] a solution to the problem that pictures taken in the flutter using the camera plug-in are stretched
[recommendation technology] matlab simulation of network information recommendation technology based on collaborative filtering
盘点华为云GaussDB(for Redis)六大秒级能力
组件的自定义事件①
【FPGA帧差】基于VmodCAM摄像头的帧差法目标跟踪FPGA实现
[lingo] find the shortest path problem of undirected graph
随机推荐
AI视频智能平台EasyCVR设备录像出现无法播放现象的问题修复
【LINGO】求无向图的最短路问题
[programming training] delete public characters (hash mapping) + team competition (greedy)
[lingo] find the shortest path problem of undirected graph
Webapck packaging principle -- Analysis of startup process
DC-4靶机
Unity2021-Scene视图中物体无法直接选中的解决办法
【推荐技术】基于协同过滤的网络信息推荐技术matlab仿真
盘点华为云GaussDB(for Redis)六大秒级能力
华泰证券开户是安全可靠的么?怎么开华泰证券账户
熱烈祝賀五行和合酒成功掛牌
ctfshow-web352,353(SSRF)
Solution to the problem that objects in unity2021 scene view cannot be directly selected
redisson使用全解——redisson官方文档+注释(中篇)
vscode 根据 ESLint 规范自动格式化代码
【微服务|openfeign】Feign的日志记录
【LINGO】求七个城市最小连线图,使天然气管道价格最低
关于“2022年度网络安全教育线上培训”相关问题的复盘和说明
Kdtree notes
Redisson uses the full solution - redisson official document + comments (Part 2)