Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Performance comparison of using WHILE and CURSOR
Message
 
 
To
26/06/2009 07:39:48
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Microsoft SQL Server
Category:
Other
Environment versions
SQL Server:
SQL Server 2005
Application:
Web
Miscellaneous
Thread ID:
01408571
Message ID:
01408599
Views:
54
Unfortunately, there're cases when you have to process each record separately but you have to exhaust all set oriented approaches first..

>Right. Then the tow results are close and while is faster. On my machine w/o PK:
>While:9184
>Cursor: 186
>
>with PK:
>While: 126
>Cursor:170
>
>What I believe he needed neither while nor cursor:) but who knows.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform