By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,610 Members | 1,672 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,610 IT Pros & Developers. It's quick & easy.

Export Table's layout

P: n/a
Hi all,

Currently I want to document all the tables, columns in the DB2
server. How can I grab the layout from DB2?

Thanks,

Tony

Jan 31 '07 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Ray
On Jan 31, 10:03 am, "Tony" <tonyedr...@gmail.comwrote:
Hi all,

Currently I want to document all the tables, columns in the DB2
server. How can I grab the layout from DB2?

Thanks,

Tony
Check out db2look.

Jan 31 '07 #2

P: n/a


To simply start and get a list of tables:
db2 list tables

a dump of everything:
db2look -e -d<dbname>
On Jan 31, 11:03 am, "Tony" <tonyedr...@gmail.comwrote:
Hi all,

Currently I want to document all the tables, columns in the DB2
server. How can I grab the layout from DB2?

Thanks,

Tony

Jan 31 '07 #3

P: n/a
Tony wrote:
Hi all,

Currently I want to document all the tables, columns in the DB2
server. How can I grab the layout from DB2?

Thanks,

Tony

You can use db2look to generate DDL statements. However, if you want to
generate a report, try WinSQL (http://synametrics.com). Besides
generating DDLs, it can print reports about the table designs.
Jan 31 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.