By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,141 Members | 1,232 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,141 IT Pros & Developers. It's quick & easy.

db2look produces unwanted ddl

P: n/a
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
Nov 12 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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

ly**@tablimited.com.au (Lyn Duong) wrote in message news:<8d**************************@posting.google. com>...
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

Nov 12 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.