Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using a Cursor, Why?
Message
De
30/08/2010 15:10:31
 
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Versions des environnements
SQL Server:
SQL Server 2008
Divers
Thread ID:
01479241
Message ID:
01479272
Vues:
73
Suppose, you need to calculate running total and you don't want to use quirky update idea. Then cursor will perform better than set based solutions.

There are few other situations where cursor performs better.


That's debatable. I'm not saying cursors are the root of ALL evil, but that's debatable.

In addition, what if you need to send an e-mail? If so, you will have to use a cursor.

That's what SSIS is for. :)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform