请问a是不是表emp的别名?
job是emp中的字段吗?
job是emp中的字段吗?
解决方案 »
- oracle11g xmldom生成xml的信息问题(PLS-00201)
- oracle11g+win7:ORA-12154: TNS:could not resolve the connect identifier specified
- Windows上安装VMWare Server,在虚拟机Linux4中安装oracle10
- 如何从日期时间中取得小时数?
- 这个GroupBy为什么不对
- oracle安装的疑惑。
- sqlplus连接数据库时报错:ERROR:ORA-00257: archiver error. Connect internal only, until freed.怎么办?
- 请问oracle 中定位字符串位置的方法是什么呀, 如pos等 谢谢
- Oracle9i的启动和关闭方法?
- 刚经历辞职,失业,再就业,呵呵,大家好。
- 如何把一个数据库里面的数据(包括表的结构)导入另外一个数据库
- 建立oracle索引的问题
job是emp中的字段
declare
v_dept number;
begin
select a.deptno
into v_dept
from emp a
where job='PRESIDENT'----------是不是少了个分号
update_commission(v_dept);
end
end后也需要加分号。declare
v_dept number;
begin
select a.deptno
into v_dept
from emp a
where job='PRESIDENT';
update_commission(v_dept);
end;