Hi all:
what i am trying to do is search one column name in whole database. i used to achieve this by using Query Analyzer .
Can anyone tell me does this function available in SQL 2005?
Thanks
Nick
Hi Nick,
Sure: you can get this info from syscomments. So, to find "HelloWorld", you would:
select
from
where
Cheers,
Rob
Yes, this information is still available via INFORMATION_SCHEMA.columns.
Thanks. mate.
Can i ask how to search a text in stored procedure, view. and UDF?
Cheers
Hi,
In the following thread there are a few methods of finding columns with a specified name within a database.
http://www.kodyaz.com/forums/thread/56.aspx