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
 To find a field in DB

Author  Topic 

magesh7702
Starting Member

1 Post

Posted - 2008-06-09 : 10:56:35
Hi all,

How to find a particular field from a table? I have so many tables in my DB and I don't know the table name which has the field.

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2008-06-09 : 11:01:17
select * from information_schema.tables
where column_name = 'Yak'



E 12°55'05.25"
N 56°04'39.16"
Go to Top of Page
   

- Advertisement -