If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > db2look

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-09-04, 17:29
deepakatfre deepakatfre is offline
Registered User
 
Join Date: Jun 2004
Posts: 32
db2look

db2look command ?
How do I use this ?
Reply With Quote
  #2 (permalink)  
Old 07-09-04, 18:44
bmujeeb bmujeeb is offline
Registered User
 
Join Date: Mar 2004
Posts: 448
db2look is used to extract the DDL and other informations.it has many options , read it in

IBM® DB2® Universal Database
Command Reference


regards,

Mujeeb
Reply With Quote
  #3 (permalink)  
Old 07-12-04, 01:49
grofaty grofaty is offline
Registered User
 
Join Date: Jan 2003
Posts: 1,570
Hi,

You can also use:
db2look ?
on DB2 Command Window to see the help.

Grofaty
Reply With Quote
  #4 (permalink)  
Old 07-12-04, 03:41
shedb shedb is offline
Registered User
 
Join Date: Dec 2003
Posts: 78
from command line processor, to get the ddl of a table, issue the following command, modifying the parameters in capslock.(username and password is the one you use connecting to the database)

>db2look -d YOUR_DATABASENAME -t YOUR_TABLENAME -a -e -l -x -c -o ddl.out -i YOUR_USERNAME -w YOUR_PASSWORD
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On