Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A cursor already exists
Message
 
To
05/03/2008 15:08:26
General information
Forum:
Microsoft SQL Server
Category:
Other
Miscellaneous
Thread ID:
01298878
Message ID:
01299081
Views:
19
>>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform