Hi there ,
Could you please help me how to optimize sql query
Thanks in Advanced
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
Sonu GuptaRank #1,261 · 1.4K reputationPosted Sep 5, 2019, 8:13 PM EDT
Rajanikant HawaldarRank #110 · 20.2K reputationPosted Sep 5, 2019, 3:01 AM EDT
Harsh GuptaRank #1,237 · 1.4K reputationPosted Sep 9, 2019, 2:04 AM EDT
Amit MohantyRank #112 · 20K reputationPosted Sep 5, 2019, 3:04 AM EDT
1. Avoid Multiple Joins in a Single Query.
2. Eliminate Cursors from the Query.
3. Avoid Use of Non-correlated Scalar Sub Query.
4. Avoid Multi-statement Table Valued Functions.
5. Creation and Use of Indexes.
6. Create a Highly Selective Index.
7. Position a Column in an Index.
For more details check the below links
https://www.c-sharpcorner.com/UploadFile/f0b2ed/tips-to-increase-sql-server-query-performance-part-1/
https://www.c-sharpcorner.com/UploadFile/f0b2ed/tips-to-increase-sql-server-query-performance-part-2/