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.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Sonu GuptaPosted Sep 6, 2019, 12:13 AM
Harsh GuptaPosted Sep 9, 2019, 6:04 AM
Amit MohantyPosted Sep 5, 2019, 7:04 AM
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/
Rajanikant HawaldarPosted Sep 5, 2019, 7:01 AM