Stored procedures 如何从windows脚本文件执行oracle存储过程?

Stored procedures 如何从windows脚本文件执行oracle存储过程?,stored-procedures,sqlplus,wsh,jscript,Stored Procedures,Sqlplus,Wsh,Jscript,几乎不需要帮助: var oShell_1 = WScript.CreateObject ("WScript.Shell"); oShell_1.run ("cmd /c CD C:\\ && sqlplus.exe user/pass@DATABASE && execute proc() /c;", 2 /* SW_SHOWNORMAL */, true /* bWaitOnReturn */); 不工作=(.我也希望窗口保持打开状态。有人能帮忙

几乎不需要帮助:

var oShell_1 = WScript.CreateObject ("WScript.Shell");
    oShell_1.run ("cmd /c CD C:\\ && sqlplus.exe user/pass@DATABASE && execute proc() /c;", 2 /* SW_SHOWNORMAL */, true /* bWaitOnReturn */);   

不工作=(.我也希望窗口保持打开状态。有人能帮忙吗?

可能是因为这样:
oShell\u 1.运行(…)
应该是
oShell\u 1.运行(…)
2
,因为“intWindowStyle”显示最小化的窗口,通常在启动应用程序时使用
1

此外,我认为参数中的注释可能是非法的