Is there any way to run several SELECT statements concurrently inside a Stored Procedure in SQL Server 2008 (parallel execution)?
If so, what steps must be followed?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Agree with @blowdart completely – SQL will normally optimise the degree of parallelism for you.
The only thing that you can do is limit that degree of parallelism, with the
MAXDOPoption (MAXimum Degree Of Parallelism).See also:
http://support.microsoft.com/kb/329204
What is the purpose for using OPTION(MAXDOP 1) in SQL Server?