473,396 Members | 2,140 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Loops taking long time to run in SQL 2005 standard edition

I am having a new server which has SQL 2005 standard edition SP2 installed on it (OS windows 2003 server)
On migrating from SQL 2000 to SQL 2005 , I observe certain procedures taking almost 10 times the normal run times.
However certain procedures in SQL 2005 run much quicker.

On observation , it is found that the procedures having loops , cursors take more time in SQL 2005 . Is there some setting to be done to enable SP’s having loops to run faster.

Any help in this regards would be much appreciated.

-Anand Moses
Feb 4 '08 #1
1 1445
ck9663
2,878 Expert 2GB
I am having a new server which has SQL 2005 standard edition SP2 installed on it (OS windows 2003 server)
On migrating from SQL 2000 to SQL 2005 , I observe certain procedures taking almost 10 times the normal run times.
However certain procedures in SQL 2005 run much quicker.

On observation , it is found that the procedures having loops , cursors take more time in SQL 2005 . Is there some setting to be done to enable SP’s having loops to run faster.

Any help in this regards would be much appreciated.

-Anand Moses

1. check your config
2. check if you created the necessary index on the tables.

-- ck
Feb 4 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: the friendly display name | last post by:
The 2003 product line, had the standard editions, you could only work with one single language, but, ASP.NET AND windows forms development was possible, and it wasn't that dumbed down. The price...
4
by: Brian | last post by:
Hello, I have a few questions about the 2005 editions of VB.NET and VS as a whole. Is the only stand alone VB.NET the express edition? In looking at the standard VS.NET 2005, it says...
13
by: johnb41 | last post by:
I'm testing out the Visual Basic 2005 Express Edition, and I like it thus far... but i'm puzzled. I want to add a "Setup Project" to my solution. When i go to Add Project, I don't see the...
1
by: Peter | last post by:
I've purchased VS.NET 2005 Standard and have tried to install SQL Server 2005 Express, but get the following error in the error log. Please could someone help me.... Microsoft SQL Server 2005...
77
by: Peter Olcott | last post by:
http://www.tommti-systems.de/go.html?http://www.tommti-systems.de/main-Dateien/reviews/languages/benchmarks.html The above link shows that C# is 450% slower on something as simple as a nested loop....
2
by: Hongbo | last post by:
Hi, I use Visual Studio 2005 Standard Edition with Visual SourceSafe 6.0d. But I could not find a way in this VS to exclude a folder, such as images folder, from SourceSafe. I can do this with...
2
by: kress1963nov22 | last post by:
I recently purchased a good MS book ("Build a Web Site Now") by Jim Buyens. It has the Express Edition of MS-Visual Web Developer 2005 on CD and also MS SQL Server 2005 Express Edition on the CD. A...
23
by: Nishant Saini | last post by:
Dear All, We have a database which contains many tables which have millions of records. When We attach the database with MS SQL Server 2005 Standard Edition Server and run some queries (having...
3
by: Edwin Smith | last post by:
I have a 2 form project in VS2005 that now hangs whenever I try to do anything with the second form. This seems to have started when I added some SQL tables from a Pervasive v.9 database using the...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.