-1

我正在处理一个批处理文件,该文件首先使用 sqlcl 连接到 oracle 数据库

%SQLCMD%sql %username%/%pass%/%host%/%sid% ,虽然连接成功,但没有其他行在其后运行。我想先连接到数据库,然后运行导出应用程序的脚本。但是,连接后没有执行任何行。

%SQLCMD%sql %username%/%pass%/%host%/%sid%
//Nothing runs after this
@./export.sql //Not sure if correct, want to run the file export.sql that is 1 directory back
echo test
4

0 回答 0