Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to print all table from db

Status
Not open for further replies.

123Hai

IS-IT--Management
Dec 30, 2002
6
0
0
IN
how to print all the table ( == describe table <table name>
of a data base ... is there any tool/ utility.....
 
Hi,
Presumably you don't mean 'How to print all data on a table' but do you mean that you would like to print a list of all the tables available? If so then you need to interrogate sysibm.systables
hth
Marc
 
AFAIK, there is no tool to do what you want to do ...

But you can combine the following commnads in a script and get the output

list tables for schema <schema-name>
describe table <tablename>

HTH

Sathyaram More DB2 questions answered at
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top