Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Trace out table name

Author  Topic 

raky
Aged Yak Warrior

767 Posts

Posted - 2008-04-20 : 05:13:32
Hi,

I need to find the tables in which a particular column exists in the database. Please provide me an appropriate query.

Thanks in advance.......

raky
Aged Yak Warrior

767 Posts

Posted - 2008-04-20 : 05:17:48


Ok i got it

select table_name,column_name from information_schema.columns where column_name like '%bill%'
Go to Top of Page
   

- Advertisement -