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 Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

invalid column name

Status
Not open for further replies.
Joined
Oct 17, 2006
Messages
227
I need to identify where this column could be, I have checked in the syscolumns but did not find it as a result I am now having to manually check each view and sp that could use the column so I can transfer the 2000 database to my new SQL 2005 machine.



In 2k Is there an easier way to identify this coloumn by some sort of search??



 
Check the INFORMATION_SCHEMA views.

For example to find a column in stored procedures

SELECT *
FROM INFORMATION_SCHEMA.ROUTINES
WHERE ROUTINE_DEFINITION like '%yourcolumn%'

- Paul
- If at first you don't succeed, find out if the loser gets anything.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top