Firstly I am sorry if this is in the wrong place.
I have created a javascript file that I am running through a batch file - install.bat
What I would like to do is that whenever the JScript has been called and runs I would then like the batch file to run a SQL file.
cscript install.js
ECHO Install.js ran successfully
pause
RUN SQL in here -> flods_create_base_install.sql
pause
Thanks in advance for any help.
2 replies to this topic
#1
Posted 08 March 2011 - 01:17 AM
|
|
|
#2
Posted 08 March 2011 - 06:21 PM
What database are you working with? Doing this with Oracle will be very different from SQL Server will be very different from MySQL...
#3
Posted 09 March 2011 - 01:28 AM
I'm doing it in Oracle but I got it working this morning.
sqlplus /nolog @utils\flods_drop.sql params.sql
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account


Back to top









