August 6, 2010 at 6:11 am
How to improve query performance in Stored procedure?
My stored procedure is very slow while executing a query....
SELECT TOP 1 mydata
FROM tbl_DataMap A
INNER JOIN tbl_DataMap1 B
ON A.DataID= B.DataMap1ID
AND B.DataMapTeam= 5
WHERE DataMapID= TestObj.DataMapID
While executing this SP, it is taking more time around 30 sec. Is there any mistake that slowed down the query. Please help.
Regards,
Nazrul Choudhury.
Software Associate @ Synechron Technologies.
January 20, 2016 at 9:35 am
in order to get some help you may need to post the table structures, the indexes and some info about the data distribution
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy