473,395 Members | 2,796 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Generate DDL works only for 30 tables?

Hi,

Is there any known limitation with DB2 Generate DDL Command (from
Command Center). This makes use of DB2LOOK program to generate the
scripts.

The generated script is only having first 30 tables. The remaining
table objects are missing.

Please let me know how to generate DDL scripts for all the objects in
my database.

I am using DB2 v8.1

Regards,
Kamlesh
Nov 12 '05 #1
3 5486
db2look -d YOURDB -a -e -x -o creatab.sql

ka*********@yahoo.com (Kamlesh) wrote in message news:<26**************************@posting.google. com>...
Hi,

Is there any known limitation with DB2 Generate DDL Command (from
Command Center). This makes use of DB2LOOK program to generate the
scripts.

The generated script is only having first 30 tables. The remaining
table objects are missing.

Please let me know how to generate DDL scripts for all the objects in
my database.

I am using DB2 v8.1

Regards,
Kamlesh

Nov 12 '05 #2
Thanks for the command.
But it is also generating only the 30 tables. The remaining tables
are omitted in the SQL file.

Does anyone know how to generate DDL scripts for ALL the tables?

Regards,
Kamlesh
du*********@gmail.com (duoduo) wrote in message news:<d3**************************@posting.google. com>...
db2look -d YOURDB -a -e -x -o creatab.sql

Nov 12 '05 #3
you could select all tables with a query like this:
select tabschema, tabname from syscat.tables where type = 'T'

with each schema.table you could do a db2look and redirect output to a single file:
db2look -d YOURDB -a -e -x -z myschema -t mytable >> creatab.sql

good luck,
Andy

ka*********@yahoo.com (Kamlesh) wrote in message news:<26**************************@posting.google. com>...
Thanks for the command.
But it is also generating only the 30 tables. The remaining tables
are omitted in the SQL file.

Does anyone know how to generate DDL scripts for ALL the tables?

Regards,
Kamlesh
du*********@gmail.com (duoduo) wrote in message news:<d3**************************@posting.google. com>...
db2look -d YOURDB -a -e -x -o creatab.sql

Nov 12 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Dehaibe François | last post by:
Hi, I'm making a program which uses a scanner which is enable to can multiple pages. I want to save all the scanned images into a PDF FILE. Does exist an API which can generate PDF FILE in...
6
by: Dustin Wilson | last post by:
I'm looking for a way with Visual Basic to generate a list of all the forms, reports and modules within a database. I can currently generate a list of tables and queries with the following code...
1
by: Ook | last post by:
I think I'm being bitten by holes in the documentation - documentation that assumes a certain knowledge of how dotnet works, knowledge that I lack :-) I downloaded and installed odbc.net. I...
1
by: ASP.Net programmer | last post by:
I have a few SQLDataAdapters which select a MAX() value from a few different tables. Here is a sample of the SQL statement: SELECT MAX(startdate) AS startdate FROM some_table1 WHERE (startdate...
15
by: Orchid | last post by:
Hello, I am looking to generate a unique ID field on MS. Access. The ID is with 10 digits with the combination of 5 Letters from the 26 letters and 5 Numbers from 1 to 9. The letters and numbers...
11
by: Alan Mailer | last post by:
A project I'm working on is going to use VB6 as a front end. The back end is going to be pre-existing MS Access 2002 database tables which already have records in them *but do not have any...
4
by: Steve | last post by:
hi all, i'm using DHTML to generate a dynamic table with adding removing and sorting rows the thing is after a row has been added at a position that i specify, if i try to delete it i get this...
4
by: robtyketto | last post by:
I have generated combo boxes based on contents of other combos and am newbie who slowly learning vba code. Heres an example of vba code use to update one combo box from another ...
4
by: nanabuch | last post by:
Hello, I am new to this forum, and I am a newbit in Oracle, I do have a background in MS Access, VBA, SQL server development and some Oracle backend development work. I have been giving a task...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.