Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in SQL Server only
Search
Advanced Search
Forums
Product Launch
Updates
Today's Posts
Member List
Calendar
Home
Forum
Topic
SQL Server
list of tables in a db
Collapse
This topic is closed.
X
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
Todd
#1
list of tables in a db
Jul 20 '05, 12:45 AM
Hi All
can some one please tell me the transact sql code that can list all tables
in a db.
thanks
Todd
Anith Sen
#2
Jul 20 '05, 12:45 AM
Re: list of tables in a db
There are many ways to do this. You can query the sysobjects system table or
the INFORMATION_SCH EMA views. Perhaps the easiest one would be :
EXEC sp_tables
--
- Anith
( Please reply to newsgroups only )
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment