1. 首页
  2. 数据库
  3. 其它
  4. 创建一个过程向dept表中添加一个新记录

创建一个过程向dept表中添加一个新记录

上传者: 2021-01-16 18:11:18上传 PDF文件 34.75KB 热度 28次
1.创建一个过程,向dept表中添加一个新记录。(in参数) 创建过程: create or replace procedure Insert_dept ( num_dept in number ,v_ename in varchar3)is begin insert into dept values(num_dept,v_ename); commit; end insert_dept; 调用: begin insert_dept(66,'人事'); end; 2.从scott.emp表中查询给定职工(提示:使用&来输入员工编号)的职工姓名和工资。(要求:利用out模式的参数将值传
下载地址
用户评论