Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Performance comparison of using WHILE and CURSOR
Message
 
 
À
26/06/2009 07:39:48
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Versions des environnements
SQL Server:
SQL Server 2005
Application:
Web
Divers
Thread ID:
01408571
Message ID:
01408599
Vues:
53
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform