Explain Details about SQL Server Query Optimization?
-- Sql Database with fast Response
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
NitinRank #455 · 5.5K reputationPosted Apr 16, 2015, 2:25 AM EDT
1. Try avoiding * in your select queries. Specify the columns that you wish to fetch.
2. Create a Primary key in the table. This will automatically create a clustered index.
3. When using joins fetch the column to join the table instead of pulling all the rows.
4. Use Stored Procedures instead of inline queries as they have cache specific features.
5. You can go for non clustered indexes. But you should choose them wisely.