Click here to Skip to main content
15,911,474 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi All,

In my stored procedure there are 8 queries for 8 tables.Each query has joins and sub queries. I am passing parameters & stored procedure name from

front end(designed in asp.net 3.5)

can we execute that 8 queries at the same time i.e. parallel execution so that I can minimize stored procedure execution time?



Regards,

N.SRIRAM
Posted

No you can't run multiple queries in parallel.

If performance is your issue, look to optimize your query or normalize your tables.
 
Share this answer
 
If your question is about running multiple query in SP then I will say YES it is possible.

But All the query doesn't executing parallel but it's one after another.

See THIS[^] clear your thoughts regarding Stored procedure. and you can refer MSDN[^] also.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900