explanation of table names in certain database

I have a db with about 3000 tables.  they are organized and what not but sometimes I have a very hard time finding the table I need.  Usually there is a part of the business function in the name of the table.
from what I see.

the identifier on the left side of studio manager under tables consists of a combination of two attributes.  the first attribute is the schema object and the second value is the table name.

example.   there is a table called sewerinstalldate and it is part of the schema   assetmanager  so in the left side of studio it shows up as

assetmanager.sewerinstalldate


back to original point.... there are about 3000 tables.... is there a way to query the db table folder in studio so it will search for a table that has the word fire in it's identifier
jamesmetcalf74Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

plusone3055Commented:
SELECT *
FROM sys.Tables
WHERE name LIKE '%Fire%'
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Brian CroweDatabase AdministratorCommented:
I recommend downloading and installing sqlsearch from redgate.  It is free.  There are certainly other tools out there that do the same thing but you can't really beat free.

https://www.red-gate.com/products/sql-development/sql-search/
0
PadawanDBAOperational DBACommented:
Plusone is correct.  You can also use a filter on the tables folder in SSMS: Expand Database group > Right click 'Tables' > Filter > Filter Settings > enter whatever your little heart desires (in your case for the name you'd be putting in fire for the name field and leave it set with default contains).

Edit - sqlsearch is indeed a pretty swank utility ;)
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

jamesmetcalf74Author Commented:
ok guys that sounds good and is working and I will give yall some credit in a second...
but my question just got a little more complex.
what about tables that have a column named unitdesc    in them... or something similar with wild cards
0
plusone3055Commented:
This will give you what you need I am not the auther but i use it all the time.

FROM
http://blog.sqlauthority.com/2008/08/06/sql-server-query-to-find-column-from-all-tables-of-database/


USE YourDatabaseName
 GO
 SELECT t.name AS table_name,
 SCHEMA_NAME(schema_id) AS schema_name,
 c.name AS column_name
 FROM sys.tables AS t
 INNER JOIN sys.columns c ON t.OBJECT_ID = c.OBJECT_ID
 WHERE c.name LIKE '%unitdesc%'
 ORDER BY schema_name, table_name;
0
PadawanDBAOperational DBACommented:
you can also use:

use <database name>;
go

select
     *
from
     INFORMATION_SCHEMA.columns
where
     column_name like N'%unitdesc%';

Open in new window

0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.