今天一个朋友问我下面这段sql语句的问题,我发现了他竟然把程序员的编程思想带入了oracle,虽然是错误的,但也是很经典的错误啊. create or replace package p_view_param is function set_param(num VARCHAR2) return VARCHAR2; function get_param return VARCHAR2; end p_view_param; CREATE or replace package body p_view_
SQL> drop user aaa ; drop user aaa ORA-00604: 递归 SQL 级别 1 出现错误 ORA-06575: 程序包或函数 NO_VM_DROP_PROC 处于无效状态 ORA-06512: 在 line 21 SQL> alter procedure WMSYS.NO_VM_DROP_PROC disable; alter procedure WMSYS.NO_VM_DROP_PROC disable ORA-00922: 选项缺失或
用Orale代码建表时,出现 SQL> comment on column SCORE.cno 2 is '学号(外键)';comment on column SCORE.cno is '学号(外键)'ORA-04044: 此处不允许过程, 函数, 程序包或类型SQL> comment on column SCORE.cname 2 is '课程号(外键)';comment on column SCORE.cname is '课程号(外键)'ORA-04044: 此处不允许过程, 函数, 程序