Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SQL to show tables

Status
Not open for further replies.

flashbbeb

MIS
Mar 29, 2005
106
US
I'm a newbie to MS SQL Server, and only used MySQL and Oracle SQL for elementary things like table creation.

What's the query to bring up a list of table names?

Thanks, EB
 
found the answer - sp_tables

Of course, it doesn't give me the entire definition with field names...that would be useful!
 
My website has a place where you can download the table info for Progression.

Software Sales, Training, Implementation and Support for Macola, eSynergy, and Crystal Reports

"A fine is a tax for doing wrong. A tax is a fine for doing well.
" - unknown
 
To obtain the field properties use this syntax
sp_help tablename

i.e. sp_help cicmpy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top