I have one SQL with multi tables Joins and also two ot three subquesries. Group by clause and also Having claue in the same.
I have created a stores procedure for the same.
When in try to call this stores procedure from command editor it will take around 3 min or more to retrieve.
But when i fire the SQL from command editor it will retrieve in 15 sec.
what would be the reason for this ?
I have created a stores procedure for the same.
When in try to call this stores procedure from command editor it will take around 3 min or more to retrieve.
But when i fire the SQL from command editor it will retrieve in 15 sec.
what would be the reason for this ?