Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search column names for SQL Keyword being used

Status
Not open for further replies.

ter79

IS-IT--Management
Jul 11, 2001
106
US
Does anyone know how I can search the column names of all the tables in a database and see if any of the column names are using SQL Keywords.

I want get a list of the table and column so I can go to that table to rename the column.

Example:

A table name Test has a column named "Name", I want to get the table name and column name

However, if the same table has a column name of "EmployeeName", I don't want to list that column since the column name is not an exact match to a SQL Keyword

Hopefully that made sense.

Thanks in advance
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top