Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dynamic management
Message
De
28/05/2012 14:29:26
Mike Yearwood
Toronto, Ontario, Canada
 
 
À
28/05/2012 14:26:16
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Maintenance bases de données
Versions des environnements
SQL Server:
SQL Server 2005
Divers
Thread ID:
01544563
Message ID:
01544566
Vues:
37
>Mike
>
>Good idea
>
>How would drop a column, an index, or a constraint that was no longer needed?

I'm not using executable code here, just pseudo for discussion purposes, but ...

if columnname exists
drop column columnname

and for indexes and constraints, switch from NOT exists.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform