Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dynamic management
Message
From
28/05/2012 14:29:26
Mike Yearwood
Toronto, Ontario, Canada
 
 
To
28/05/2012 14:26:16
General information
Forum:
Microsoft SQL Server
Category:
Database management
Environment versions
SQL Server:
SQL Server 2005
Miscellaneous
Thread ID:
01544563
Message ID:
01544566
Views:
35
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform