Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Optimizing adding field
Message
 
 
À
10/03/2011 17:28:04
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Versions des environnements
SQL Server:
SQL Server 2008
Application:
Web
Divers
Thread ID:
01502961
Message ID:
01503271
Vues:
30
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform