Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A cursor already exists
Message
De
05/03/2008 09:30:04
 
 
À
Tous
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Titre:
A cursor already exists
Divers
Thread ID:
01298878
Message ID:
01298878
Vues:
87
I have this script that I run on a regular basis. I have a DECLARE tableIndexes CURSOR FOR that is inserted at several places in the script. But, if the script didn't run well on the last time, when I run the script again, I might have this error:

"A cursor with the name 'tableIndexes' already exists."

How can I make sure all cursor are cleaned before I start running the script.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform