troubleshooting Question

Find unused columns in a table

Avatar of bfuchs
bfuchsFlag for United States of America asked on
Microsoft SQL ServerDatabasesScripting LanguagesMicrosoft SQL Server 2005Microsoft Access
12 Comments1 Solution784 ViewsLast Modified:
Hi Experts,

I have an extremely large table with hundreds of fields, with many of them not in use anymore, and would like to get a list of all those unused fields, and perhaps move them to a different table.

Does anybody know of a script/function that would help me in this direction, instead of having to deal with each field separately?

Thanks in advance.
Paul Cook-Giles
Senior Application Developer

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 12 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 12 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros