Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

How to Drop Unused Empty Redundant columns Expand / Collapse
Author
Message
Posted Saturday, October 25, 2008 2:23 AM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Thursday, July 17, 2014 6:57 AM
Points: 55, Visits: 159
Comments posted to this topic are about the item How to Drop Unused Empty Redundant columns
Post #591659
Posted Thursday, February 5, 2009 6:40 PM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Tuesday, April 22, 2014 5:40 PM
Points: 209, Visits: 302
This could be a very risky script for people to use for two reasons:

* Column Names are typed SYSNAME, which is NVARCAHR(128) , not VARCAHR(30)
* You use dynamic SQL without QUOTENAME(), which means your script could fail on column names that are not regular identifiers.
Post #651369
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse