How do I export my table design, not the data, in sql server 2000?

I need to export my table design in to an excel sheet. I need column name, data type, length, etc. Not interested in the data. I have looked at the DTS agent to see if this could do it, but does not seem to be a tool to do it. To bad I can copy paste in to an xls. I'm using server 2000
dawes4000Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

chapmandewCommented:
In EM, you can right click the DB, select generate sql scripts, then select show all, and select all tables/objects you want to script out...
0
dawes4000Author Commented:
chap,
I've done this before. I need something more than a note pad version. Preferably an export to excel with column headers and such.
0
nmcdermaidCommented:
Can you be more specific? Do you want some nice formatting or something? Based on your current spec, the solution is to take the SQL script and paste it into Excel.
0
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

Anthony PerkinsCommented:
Perhaps something like this:

Select COLUMN_NAME, DATA_TYPE, CHARACTER_MAXIMUM_LENGTH
From INFORMATION_SCHEMA.COLUMNS
Where TABLE_NAME = 'YourTableName'
Order By ORDINAL_POSITION

You can explore the other columns available.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
chapmandewCommented:
Or this...although you'd need 2005:

http://blogs.techrepublic.com.com/datacenter/?p=431
0
dawes4000Author Commented:
Ace,
yes, the query was exactly what I was looking for. A custom query in DTS to an excel sheet. Thanks.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server

From novice to tech pro — start learning today.