Solved

how can I print out the table designs for all the tables in my database

Posted on 2013-06-24
2
288 Views
Last Modified: 2013-06-24
I would like to get a print out of the name and type of all my fields in all my tables from sql server 2012.  

I know I can do this if I go to each table in turn but is there a command that will let me do this for all the tables at once?
0
Comment
Question by:Nemetona
2 Comments
 
LVL 12

Accepted Solution

by:
jmcmunn earned 500 total points
ID: 39271419
SELECT * FROM information_schema.columns

When run against your database should give you what you want.
0
 

Author Closing Comment

by:Nemetona
ID: 39271449
Thank you
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Nowadays, some of developer are too much worried about data. Who is using data, who is updating it etc. etc. Because, data is more costlier in term of money and information. So security of data is focusing concern in days. Lets' understand the Au…
Introduction SQL Server Integration Services can read XML files, that’s known by every BI developer.  (If you didn’t, don’t worry, I’m aiming this article at newcomers as well.) But how far can you go?  When does the XML Source component become …
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now