Originally Posted by rudraksh
If you are using SQL SERVER 2000, then to make your query fast you have to do certain things..
1.Normalize your tables
2.create appropiate non clustered indexes
3.Create the custered index if neccessary
4. Create the frequently used query as stored procedure Bcoz that will enhanced your system a lot
3.don't pass TSQL through recordset
4.use stored procedures
5.Create the queries as much possible with subqueries.That makes it fast.
Use a single interlooped subqueries instead of no of TSQL queries
6.Never use condituioned programming,always use set based approach.
there are many of which I stated some..I hope it would help you
Rudraksh