Connecting Tech Pros Worldwide Help | Site Map
 
 
LinkBack Thread Tools Search this Thread
  #1  
Old November 12th, 2005, 07:25 AM
Lyn Duong
Guest
 
Posts: n/a
Default db2look produces unwanted ddl

Hi

When I want to get the ddl for a table, i use db2look -d dbname -e -t
tabname.
Why does this produce all ddl for functions, federated objects and all
other unwanted stuff.

Is there a way to turn this off ???

Thanks
Lyn
  #2  
Old November 12th, 2005, 07:25 AM
Joachim Klassen
Guest
 
Posts: n/a
Default Re: db2look produces unwanted ddl

If you're on DB2 V8 you can use the -noview and -nofed switches for
db2look. Not sure if they can be used from within the control center,
on the command line they work. I think ddl generation for functions
cannot be suppressed, since they could be used within a create table
statement (eg. for generated columns)

HTH
Joachim

lynd@tablimited.com.au (Lyn Duong) wrote in message news:<8d1cda6d.0405132201.3b22cccd@posting.google. com>...[color=blue]
> Hi
>
> When I want to get the ddl for a table, i use db2look -d dbname -e -t
> tabname.
> Why does this produce all ddl for functions, federated objects and all
> other unwanted stuff.
>
> Is there a way to turn this off ???
>
> Thanks
> Lyn[/color]
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 205,248 network members.