SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 SSIS and Import/Export (2008)
 extract list of table and list of colum
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Beaug
Starting Member

3 Posts

Posted - 10/24/2012 :  03:30:16  Show Profile  Reply with Quote
Hi

I search extract of "Microsoft SQL Server Management Studio" the list of table and list of colums with her characteristics ( PK , Int , no Null , ...)in Excel.

Thanks

nigelrivett
Flowing Fount of Yak Knowledge

United Kingdom
3383 Posts

Posted - 10/24/2012 :  04:06:32  Show Profile  Visit nigelrivett's Homepage  Reply with Quote
Is this a question about how query the info?

Look at information_schema.columns


==========================================
Cursors are useful if you don't know sql.
SSIS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page

Beaug
Starting Member

3 Posts

Posted - 10/24/2012 :  05:05:58  Show Profile  Reply with Quote
quote:
Originally posted by nigelrivett

Is this a question about how query the info?

Look at information_schema.columns


==========================================
Cursors are useful if you don't know sql.
SSIS can be used in a similar way.
Beer is not cold and it isn't fizzy.



===========================================
Thanks for response
it's GOOD
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

India
52317 Posts

Posted - 10/24/2012 :  10:11:37  Show Profile  Reply with Quote
if you want to see only columns of tables make sure you add a join onto information_schema.tables and filter on table_type='BASE TABLE'. Otherwise it will include view information also.

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page

Beaug
Starting Member

3 Posts

Posted - 10/25/2012 :  03:22:55  Show Profile  Reply with Quote
Thanks for your response
it's OK for me
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.08 seconds. Powered By: Snitz Forums 2000