[英].BAT file code on when control command appears
I have created a batch file that should upload the data into the database. 我创建了一个批处理文件,该文件应将数据上传到数据库中。 After I enter the database name and password, a command appears control =
where we enter the .ctl
file. 输入数据库名称和密码后,将出现一个命令control =
我们输入.ctl
文件的位置。
Unfortunately I am not able to find the command that enters the CTL file name. 不幸的是,我找不到输入CTL文件名的命令。
Any help would be appreciated. 任何帮助,将不胜感激。
Batch file code: 批处理文件代码:
@ECHO OFF
sqlldr database_name/password@username
pause
SEC_LOAD.ctl
pause
This is the output in console window: 这是控制台窗口中的输出:
sqlldr database_name/password@username
control =
SQL*Loader-287: No control file name specified.
pause
Press any key to continue . . .
All I need is to call file SEC_LOAD.ctl
when control =
appears in cmd, instead it is called after the control command. 我只需要在cmd中出现control =
时调用文件SEC_LOAD.ctl
,而是在control命令之后调用它。
The Oracle documentation for the sqlldr command line appears to say that the control file and log file can be specified on the command line. Oracle关于sqlldr命令行的文档似乎表明可以在命令行上指定控制文件和日志文件。
sqlldr scott/tiger control=ulcase1.ctl log=ulcase1.log
If you are using MySQL, are you going to use mysqlimport
? 如果使用MySQL,将使用mysqlimport
吗?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.