This script finds columns in a database with similar names. When designing a large database it is sometimes handy to be able to find all occurances of, say, "material_key". This script has a string argument for all or part of a field name: e.g. sp_findcol material. It will return all fields in the database with the string %material% in them.
For SQL Server 6.5
Author: Tom De Lancey
Disclaimer: We hope that the information on these script pages is
valuable to you. Your use of the information contained in these pages,
however, is at your sole risk. All information on these pages is provided
"as -is", without any warranty, whether express or implied, of its accuracy,
completeness, or fitness for a particular purpose...
Back to Database Journal Home