I'm using SQL server management studio 2008.
I have a huge legacy database with thousands of columns. It would be nice if I could search for all columns whose names contain a certain substring.
Does anyone know how to do this?
Thanks!
|
I'm using SQL server management studio 2008. I have a huge legacy database with thousands of columns. It would be nice if I could search for all columns whose names contain a certain substring. Does anyone know how to do this? Thanks!
| |||||
feedback
|
|
Mmhh you could try:
| |||||||||||
feedback
|
|
You could use some 3rd party tools like Red-Gate's SQL Search that are free. | |||
feedback
|
|
You can use the INFORMATION_SCHEMA views.
One catch is to make sure to USE the correct database. | |||
|
feedback
|