1. Use dbo. before the Tables.
2. Use Declare Tables instead of Temporary Tables
3. Use INDEX's respectively.
4. Use the Constraints correctly for table.
5. Follow the DataModel perfectly and avoid the redundancy and duplicate data.
6. Use WITH(NOLOCK) for tables in query for avoiding Dead Locks.
7. Use EXISTS instead of INNER JOIN, if possible.


Satyapriya NayakRank #47 · 31.5K reputationPosted May 28, 2012, 6:45 PM EDT
vinod kumar31 reputationPosted May 29, 2012, 8:21 AM EDT
SenthilkumarRank #387 · 6.5K reputationPosted May 30, 2012, 12:15 AM EDT
It nice to see the tips.
Why can't you post it as blog/article/tips.
Here the forum for discussing the technical issues. Sharing need to goes into blog or tips...