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,