另,是不是在sql * plus 里就不用使用动态sql,在存储过程里就必须使用
解决方案 »
- 请教关于commit和rollback的几个问题。
- 连接数据库出现: ORA-06413: 连接未打开。
- 同一机器安装了Oracle服务端还要安装客户端吗?
- 为什么无法对RAW类型主键的表建全文索引
- 在pl/sql developer中调用存储过程的sql句是怎么写的?
- 调查问卷建库,每个问题一条记录,但每个问题可多选,显示时答案要分开显示,那位高人指点,如何处理?
- oracle的导出导入问题(参数的设置)?
- 一个sql问题,请各位高手指点
- 求救!数据库连接出错!
- oracle官网下载 jdk-9.0.4_windows-x64_bin.exe网页打不开
- sql loader 程序
- 怎样不修改程序,只需在Oracle8i中修改配置就可以使在查询语句中不区分大小写
Action: Refer to the following PL/SQL messages for more information about the error.
ORA-00911 invalid character Cause: Special characters are valid only in certain places. If special characters other than $, _, and # are used in a name and the name is not enclosed in double quotation s ("), this message will be issued. One exception to this rule is for database names; in this case, double quotes are stripped out and ignored.
Action: Remove the invalid character from the statement or enclose the object name in double quotation s.
这句话也要用动态SQL执行,因为在编译存储过程时,表t_KILL_SPID还不存在,当然编译不过了。在SQL*PLUS中是不需使用动态SQL的,在存储过程中,必须使用!
你上面的过程里的动态SQL语法部不够完整呀
拜托sql与pl/sql的定义是什么
取出kill,再把表删除,急阿