db2look also has a -tw flag where you can specify a tablename pattern (wildcard characters _ and % can be used as they are in LIKE clauses). -tw is mutually exclusive with -t where you can specify from 1 to 30 table names.
Hal Steiner
-----Original Message-----
From: db2udbdba-ezmlmshield-x8708328.[Email address protected]
To: [Email address protected]
Sent: Wed, 30 Aug 2006 9:58 AM
Subject: RE: ddl -- db2look for a specific table.
Add the -a option so that all creators are included.
David Baker
Taido Ryu Jujitsu
www.TaidoRyu.com
518-210-1000
-----Original Message-----
From: pavan [mailto:db2udbdba-ezmlmshield-x12523229.[Email address protected]
Sent: Wednesday, August 30, 2006 9:38 AM
To: LazyDBA Discussion
Subject: ddl -- db2look for a specific table.
Hi all,
When I ran db2look against a specifc schema, I found out that there were
few tables for which the DDL was not generated !! Interestingly, now, when
I use db2look to generate ddl for a set of tables that I want, I am not
getting ddl.
Instead I am getting all updates, alters (which I need on top of create
table statement).
Is there any way I can generate create table ddl statement along with
updates, alters, grants etc statements for a specific set of tables ?
I tried looking at documentation but it is not clear to me why although I
include -e option, I dont get the create table statement in db2look o/p.
thanks.
---------------------------------------------------------------------
TO REPLY TO EVERBODY , PLEASE CLICK REPLY-ALL, NOT JUST REPLY
To post a dba job: http://jobs.lazydba.com
To Subscribe : http://www.LazyDBA.com
To unsubscribe: http://www.lazydba.com/unsubscribe.html
---------------------------------------------------------------------
TO REPLY TO EVERBODY , PLEASE CLICK REPLY-ALL, NOT JUST REPLY
To post a dba job: http://jobs.lazydba.com
To Subscribe : http://www.LazyDBA.com
To unsubscribe: http://www.lazydba.com/unsubscribe.html
________________________________________________________________________
Check out AOL.com today. Breaking news, video search, pictures, email and IM. All on demand. Always Free.
DB2 & UDB email list listserv db2-l LazyDBA home page