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 error

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-11-07, 14:45
debayan debayan is offline
Registered User
 
Join Date: Sep 2007
Posts: 23
Unhappy db2look error

Hi all,

I am using db2look to extract DDL for all the tables along with authorization DDL. The problem I am facing is that db2look is generating "CREATE TABLE" DDL for almost all the tables I have but not all. Although I am getting authorization DDL for tables whose "CREATE TABLE" DDLs were not generated.

I used the following statement:-

db2look -d BOSS -u bossadmin -e -f -o ddl.sql

I am not sure why this is happening. I have more than 700 tables.

Can any one explain what is causing the problem and how I can get all the DDLs.

Thanks a lot,
Dev
Reply With Quote
  #2 (permalink)  
Old 10-11-07, 16:09
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
You are specifying the table creator ID. Is there a chance that some tables have other creator than 'BOSSADMIN'?
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