Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 SSIS and Import/Export (2005)
 Export Metadata to excel file

Author  Topic 

karthiks10
Starting Member

2 Posts

Posted - 2008-09-29 : 05:02:28
Hi all

Do any one have procedure to export metadata from sqlserver to excel/text file?Any pointers on this would be helpful

Regards
Karthik

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2008-09-29 : 05:30:42
you mean table metadata?what all you want from table? just column info?
Go to Top of Page

karthiks10
Starting Member

2 Posts

Posted - 2008-09-29 : 05:47:20
Hi

I need column name and column details.Thanks for the replay

regards
Karthik

Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2008-09-29 : 06:21:22
just use this

SELECT * FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME='YourTableName'
Go to Top of Page
   

- Advertisement -