3

I have 12 queries to run, but can not run at the same time. I would like to start the first query, then as soon as it completes the next query begins, when it completes the third query starts and so on. Want this to be automatic. Each query writes a txt file. Thanks

1
  • What do you have so far? Do you have any issues running anything in the current format you have? What have you tried so far? Commented Oct 4, 2010 at 13:32

2 Answers 2

2

Seems to me like you just have to create a script and call that script:

@query1.sql
@query2.sql
...

Or am I missing something?

Sign up to request clarification or add additional context in comments.

Comments

0

Paste them all in 1 file with a GO statement between should do the trick.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.