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 > get SQL script

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-02-03, 06:48
javri28 javri28 is offline
Registered User
 
Join Date: Oct 2003
Posts: 5
get SQL script

Hi all!

Does enyone know how to get the SQL script in DB2 with which the table was created?
I have to create a table which has almost the same structure as the other one, but with differences.
Reply With Quote
  #2 (permalink)  
Old 10-02-03, 07:11
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,198
Check out the db2look command. It is described in the Command Reference manual.
Reply With Quote
  #3 (permalink)  
Old 10-02-03, 07:35
javri28 javri28 is offline
Registered User
 
Join Date: Oct 2003
Posts: 5
I have already found it.

Thanks anyway
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