Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Optimizing adding field
Message
 
 
To
10/03/2011 17:28:04
General information
Forum:
Microsoft SQL Server
Category:
Other
Environment versions
SQL Server:
SQL Server 2008
Application:
Web
Miscellaneous
Thread ID:
01502961
Message ID:
01503271
Views:
31
>I have adjusted my script. It is closed to what you have written here except that I rely on my Field.Enabled field instead. If the field is not enabled, it is because it is not in the database. By that, I can easily define my script.
>
>So, now, for the same simuation, instead of 5.5 hours, I can get it to do the same task in 18.21 minutes.

Nice! I wrote the above from the top of my head, but I often use dynamic scripting (especially answering questions on MSDN forum).

I have a blog post on this topic

How to get information about all databases without a loop
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform