SHELL command question

M

m

I am using the SHELL command to execute an osql statement
that will run a script file against an SQL database. My
problem is it runs asynchronously. I need a way to wait
for the SHELL command to finish before going on to the
next step.

Any help would be greatly appreciated.

thanks
 
T

Tim Ferguson

I am using the SHELL command to execute an osql statement
that will run a script file against an SQL database.

Why not just do a set of conn.Execute() methods?

Tim F
 
M

m

Can I use the conn.Execute() method to call an external
file that contains the script?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top