Groups | Blog | Home
all groups > sql server new users > february 2006 >

sql server new users : sql query question



mattmerc NO[at]SPAM bellsouth.net
2/2/2006 6:12:53 AM
Hi all,

I'm looking for some sql code to query a database, and what I want
returned is a description of a specific table or all tables in the
database. I'd like to run a query that returns:

table name
fields
field data types

etc...

Like a summary of the table(s).

How can I do this? Thanks.
Jens
2/2/2006 6:35:30 AM
sp_help <Tablename>

HTH, Jens Suessmeyer.
AddThis Social Bookmark Button