There are a couple of ways to do it, depending on what version of SQL Server you are using and how detailed you need to get. First, in your query tool of choice (usually Management Studio) point to the database you're interested in, then use one of these:
--for SQL2000 or later, you can use either:
select * from sysobjects where type = 'U'
--or
select * from INFORMATION_SCHEMA.TABLES
--for SQL2005 or later, you can also use this:
select * from sys.tables
Hope this is what you're looking for!
BitBlt
Practically a Posting Shark
894 posts since Feb 2011
Reputation Points: 482
Solved Threads: 148
Skill Endorsements: 14
Question Answered as of 4 Months Ago by
RaptorSix,
BitBlt
and
code739