Home » Infrastructure » Windows » Script File execution (Oracle, 10g, Windows)
|
|
|
|
|
|
|
Re: Script File execution [message #352918 is a reply to message #351858] |
Fri, 10 October 2008 04:29   |
Vairam_Jegan
Messages: 1 Registered: July 2005 Location: Chennai
|
Junior Member |
|
|
I tried the script file execution in vb using FSO (File System Object). At that time also I got the same error. So I decided to run that script file apart from vb-ado and oracle. What I’m asking is like batch file (*.bat) execution. Do you have any idea about this script file execution through batch file?
[Updated on: Fri, 10 October 2008 04:59] by Moderator Report message to a moderator
|
|
|
Re: Script File execution [message #353002 is a reply to message #352918] |
Fri, 10 October 2008 08:33  |
msmallya
Messages: 66 Registered: March 2008 Location: AHMEDABAD, GUJARAT
|
Member |
|
|
Hi,
I think you have not put "exit;" in your script. Also you have not posted error you have encountered.
say batch file test.bat will look like
sqlplus user/pwd@db @c:\testsc.sql
and sql script will look like
set termout off;
select col1 from abc;
exit;
I have given you only simple example how to call/execute script file from DOS command prompt.
Thanks and regards,
MSMallya
|
|
|
Goto Forum:
Current Time: Mon Apr 07 13:32:16 CDT 2025
|