|
|
|
Valued Member
      
Group: General Forum Members
Last Login: Sunday, September 25, 2011 6:50 AM
Points: 55,
Visits: 155
|
|
|
|
|
|
SSC Veteran
      
Group: General Forum Members
Last Login: Sunday, August 19, 2012 6:40 PM
Points: 202,
Visits: 301
|
|
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.
|
|
|
|