/* 写一个简单的PL/SQL */ declare a int:=300; b int:=200; c number; begin c:=(a+b)/(a-b); dbms_output.put_line(c); exception when zero_divide then dbms_output.put_line('除数不许为零'); end;
这里需要注意:字符串用单引号,不是双引号
/* 写一个简单的PL/SQL */ declare a int:=300; b int:=200; c number; begin c:=(a+b)/(a-b); dbms_output.put_line(c); exception when zero_divide then dbms_output.put_line('除数不许为零'); end;
这里需要注意:字符串用单引号,不是双引号
Win8 x64 PL/SQL输入用户名密码,连接时报错:
SQL嵌套语句执行顺序以及虚表的产生
ORA-01861:
在Oracle数据库中,可以执行PL/SQL脚本,但是在运行时,有情
编写存储过程、数据库
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M