Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

performance & Tuning Stored procedures

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I am new to SQL!
and I have two stored procedures about 1000 lines each, and it is grabbing information from almost 22 Tables. When I execute it taking too much time and I want to know is there any way that I can Improve the execution in less time. And I am using 6.5 version. In my stored procedure I am using cursors and Temp Tables.

Thanks
REDDY
 
Are those cursors nested? If so, remove as many nesting levels as possible using joins. The SQL Server is much better at dealing with sets than cursors.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top