windwos cmd命令下 执行存储过程

解决方案 »

  1.   

    cmd命令执行存储过程 要进入sqlplus吧
    exec procedurename();
    --or
    begin
    procedurename();
    end;
      

  2.   

    C:\Documents and Settings\Administrator>sqlplus /nologSQL*Plus: Release 10.2.0.1.0 - Production on 星期五 3月 4 10:49:30 2011Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    SQL> conn 用户名/密码@ip:端口号/实例名
    已连接。
    SQL> exec 过程名
      

  3.   

    跟你的过程有关,最后会有执行结果,success 或 fail
      

  4.   

    exec + 存储过程
    或者  begin 
           +...
          end/
    执行完成后会有反馈的