470,843 Members | 1,983 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,843 developers. It's quick & easy.

list of tables in a db

Hi All
can some one please tell me the transact sql code that can list all tables
in a db.
Jul 20 '05 #1
1 20797
There are many ways to do this. You can query the sysobjects system table or
the INFORMATION_SCHEMA views. Perhaps the easiest one would be :

EXEC sp_tables

- Anith
( Please reply to newsgroups only )
Jul 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

11 posts views Thread by Wayne Wengert | last post: by
1 post views Thread by Mariusz Kaczmarczyk | last post: by
9 posts views Thread by Peter Moscatt | last post: by
reply views Thread by master | last post: by
5 posts views Thread by Troels Arvin | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.