Aug 20, 2004 #1 jorg32 Programmer Jul 10, 2003 57 BE Hi, Can somebody tell me how I can find 1 specific field in several tables in a SQL-Database? Thank you for helping me. Jorg
Hi, Can somebody tell me how I can find 1 specific field in several tables in a SQL-Database? Thank you for helping me. Jorg
Aug 20, 2004 1 #2 vongrunt Programmer Mar 8, 2004 4,863 HR Go to query analyzer, press F4, type field name into "Object name", choose database, uncheck "All object types", check "Column", start search. Upvote 0 Downvote
Go to query analyzer, press F4, type field name into "Object name", choose database, uncheck "All object types", check "Column", start search.
Aug 20, 2004 Thread starter #3 jorg32 Programmer Jul 10, 2003 57 BE Thanks for your help! Can I ask you another question about the same case? Is it also possible to get the "Data Type" + "Length" of this field? Jorg Upvote 0 Downvote
Thanks for your help! Can I ask you another question about the same case? Is it also possible to get the "Data Type" + "Length" of this field? Jorg
Aug 20, 2004 #4 vongrunt Programmer Mar 8, 2004 4,863 HR AFAIK not this way... try: Code: select * from information_schema.columns where column_name = 'your_field_name' Upvote 0 Downvote
AFAIK not this way... try: Code: select * from information_schema.columns where column_name = 'your_field_name'
Aug 20, 2004 #5 hmckillop Programmer Oct 30, 2001 1,540 GB try Code: select * from information_schema.columns where column_name = 'columnname' "I'm living so far beyond my income that we may almost be said to be living apart Upvote 0 Downvote
try Code: select * from information_schema.columns where column_name = 'columnname' "I'm living so far beyond my income that we may almost be said to be living apart