How to list atributes of all tables in Query Analyzer
- From: "Gabriel Martin" <GabrielMartin@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 21 Apr 2005 10:34:02 -0700
Hi newsgroup
I need to know the properties of all tables in a given database on MSSQL
7.0. I know that there is a stored procedure with the name "sp_MShelpcolumns"
as well as another one called "sp_MSforeachtable". How can I combine these
two to get a result that looks like: tablename, columnname, datatype, size.
The result is something that I would like to copy and paste in Excel to send
it to a business analyst.
Any input is highly appreciated.
Kind regards
Gabriel
.
- Follow-Ups:
- Prev by Date: Re: Backup settings for server registrations in SQL Server Enterpr
- Next by Date: Re: Identity
- Previous by thread: Identity
- Next by thread: Re: How to list atributes of all tables in Query Analyzer
- Index(es):
Relevant Pages
|