日期:2014-05-17  浏览次数:20853 次

toad for oracle 中 想用调用一个存储过程 怎么弄啊,新手跪求
就是在SQL editor中调用 刷新 视图的DBMS_MVIEW.refresh('tablename','C')
DBMS_MVIEW.refresh('tablename','C') 直接按ctl+enter
有ORA-00900: invalid SQL statement错误
正确的改怎么弄啊


------解决方案--------------------
SQL code

-- 用程序块执行:
begin
  DBMS_MVIEW.refresh('tablename','C');
end;
/

------解决方案--------------------
放在pl/sql语句块理智型
begin
DBMS_MVIEW.refresh('tablename','C');
end;
我的异常网推荐解决方案:oracle存储过程,http://www.aiyiweb.com/oracle-develop/177537.html