Mike Yearwood
Toronto, Ontario, Canada
General information
Forum:
Microsoft SQL Server
Category:
Database management
Environment versions
SQL Server:
SQL Server 2005
>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only