Fli*_*Off 49 oracle plsql oracle10g ora-00900
我正在使用oracle 10g快递版.它对数据库开发人员来说非常好用.但我面临执行存储过程的一些问题.
程序:
create or replace procedure temp_proc is
begin
DBMS_OUTPUT.PUT_LINE('Test');
end
Run Code Online (Sandbox Code Playgroud)
它创建成功.但是当我执行时:
execute temp_proc;
它显示ORA-00900:无效的SQL语句
所以需要帮助
Tho*_*ten 74
Execute 是sql*plus语法..尝试在begin中包装你的调用..结束如下:
begin
temp_proc;
end;
Run Code Online (Sandbox Code Playgroud)
(尽管Jeffrey说这在APEX中不起作用..但你试图让它在SQLDeveloper中运行..尝试那里的'Run'菜单.)
| 归档时间: |
|
| 查看次数: |
275207 次 |
| 最近记录: |