Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A cursor already exists
Message
 
À
05/03/2008 15:08:26
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Divers
Thread ID:
01298878
Message ID:
01299081
Vues:
20
>>It depends.
>>Sometimes you can have the loop w/o using cursors, sometimes you can't.
>
>I'll have to do some research on that. The scripting environment is new to me in regards to those concepts.

If you check my answer for your question of Generic way to drop all tables (there where you realize that the server is installed case-sensitive) you will see that I LOOP through results of a View (INFORMATION_SCHEMA.Tables) w/o using a CURSOR. Unfortunately I can't find that message Id right now.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform