当前位置:网站首页>Oracle trigger creation
Oracle trigger creation
2022-07-25 07:45:00 【CSDN Q & A】
oracle Create a trigger , There is a table with the following structure

What I want to ask is if I insert a new piece of data ,dept_name For Nanjing , Do not insert dept_code Under the circumstances , according to dept_name, Add... To him 320110
Do with trigger , Execute every row inserted
The code is as follows
create table ceshi (id number,name VARCHAR2(50),dept_name VARCHAR2(50),dept_code VARCHAR2(50))
insert into ceshi values(1,'zhangsan',' Beijing ','110000');
insert into ceshi values(2,'zhangsan',' Shanghai ','310000');
insert into ceshi values(3,'zhangsan',' nanjing ','320100');
insert into ceshi values(4,'zhangsan',' Shenzhen ','440300');
insert into ceshi values(5,'zhangsan',' Guangzhou ','440100');
commit;
select * from ceshi
边栏推荐
- A fast method of data set enhancement for deep learning
- People who lose weight should cry: it's no good not eating food, because your brain will be inflamed
- 转行学什么成为了一大部分人的难题,那么为什么很多人学习软件测试呢?
- [paper notes] effective CNN architecture design guided by visualization
- How to use kotlin flow in Android projects
- Load capacity - sorting out the mind map that affects load capacity
- CSDN custom T-shirts are waiting for you to get, and the benefits of new programmer are coming!
- Uiautomator2 common commands
- 整数a按位取反(~)后的值为-(a+1)
- Nano data, football data, football match scores, sports data API, Qatar world cup
猜你喜欢

【Unity入门计划】基本概念-2D刚体Rigidbody 2D

Native form submission data

使用CycleGAN训练自己制作的数据集,通俗教程,快速上手
![[paper notes] progressive layered extraction (PLE): a novel multi task learning (MTL) model for personalized](/img/a8/c5d14ec5f4a22f7925c6d7454b5a58.png)
[paper notes] progressive layered extraction (PLE): a novel multi task learning (MTL) model for personalized

深度学习训练和测试时出现问题:error: the following arguments are required: --dataroot,解决:训练文件的配置方法和测试文件的配置方法

Use cyclegan to train self-made data sets, popular tutorials, and get started quickly

Nailing the latest version, how to clear the login phone number history data

App power consumption test

Cerebral cortex: the relationship between lifestyle and brain function in the elderly and its relationship with cognitive decline

VS2019 C# MFC安装
随机推荐
查看电脑重启次数、原因
Practical operation: elegant downtime under large-scale micro service architecture
Tunnel broadcasting and wireless trunking communication broadcasting system - the case of Tiantaishan tunnel
Weblux default IO threads
C# 43. 获取UDP可用端口
纳米数据足球数据,足球赛事比分,体育数据api,卡塔尔世界杯
Today in history: Intel was founded; The first photo was posted on the world wide web; EBay spins off PayPal
Teach you to use cann to convert photos into cartoon style
【Unity入门计划】界面介绍(2)-Games视图&Hierarchy&Project&Inspector
【Unity入门计划】基本概念-预制件 Prefab
[unity entry plan] interface Introduction (1) -scene view
batchnorm 和layernorm的区别
2-6. Automatic acquisition
list的模拟实现
How does uxdb extract hours, minutes and seconds from date values?
Is the yield of financial products high or low?
The 17th revitalization cup computer programmer (cloud computing platform operation and development) finals
Analysis of difficulties in diagramscene project
nanodet训练时出现问题:ModuleNotFoundError: No module named ‘nanodet‘的解决方法
A queue of two stacks