Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

Calling a common Stored Procedure from multiple stored procedure performance issues

$
0
0

Hi,

A common procedure is called inside the  multiple stored procedures based on different parameter values.Some times it gets dead slow.

Could you please provide the best solution for that.

Example:

-> Create procedure SPCommon

{

Here only select statement.

}

-> Create procedure TestA

{

here also select statements

exec SPCommon

}

->

-> Create procedure TestB

{

Here also select statements

exec SPCommon

}

Cheers,






Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>