use something like that (notice the space between "-td" and "!"):
db2look -d dbname -a -e -o dbname.ddl -p -l -x -td !
On the target machine use something like that (notice the _missing_
space between "-td" and "!"):
db2 -c -td! -f dbname.ddl
I always use the "!" as the statement termination character because of
the CREATE TRIGGER statement that might contain the default termination
character ";".
Harald Wilhelm <Harald....@hawi.de> wrote in message news:<1103_10...@news.t-online.de>...
Harald Wilhelm <Harald....@hawi.de> wrote in message news:<1103_10...@news.t-online.de>...
You can use REXX and the REXXSQL library to do that. The SYSCAT tables
have the names of all the tables and you can use that to generate a
script containing the db2move and/or db2look commands to export the
DDL and the data.
--
Lorne Sunley
I see, you will catch individual tables. Just use the
information from SYSCAT.TABLES:
select distinct tabschema,
tabname
from syscat.tables
where type = 'T'
and tabschema <> 'SYSCAT'
and tabschema <> 'SYSIBM'
and tabschema <> 'SYSSTAT'
BTW, DB2LOOK and DB2MOVE might help anyway. Just edit manually,
or process by script, the db2move.lst file. After a full
db2move it contains one line per table. After changing this
file, load the tables of your chice with db2move. This will be
much faster than IMPORT.
getab...@indiatimes.com (Abhi) wrote in message news:<67db1745.02092...@posting.google.com>...
SQL*XL specialises in dealing with databases from MS Excel. It works with
all databases and has been tested to work fine against Oracle, Access,
Foxpro, SQL Server, Sybase, etc etc
SQL*XL is full features. You can use Excel cells in the SQL, it supports
macro recording, VBA coding, scripting, comes with an installer/uninstaller
and has a help system.
Find SQL*XL at www.oraxcel.com
I suggest you download both SQL*XL3 and SQL*XL ADO
Kind regards, Gerrit-Jan Linker
"Carmine" <carmine...@iqfinancial.com> wrote in message
news:1eeb8b4.02092...@posting.google.com...