in**@daten-host.de wrote:
Hi,
how could I do an export of tables via Java / JDBC.
There are very big tables.
I thought about:
EXPORT TO c:\aa.ixf OF ixf SELECT * FROM TEST1
How could I call this from JDBC / Java?
EXPORT is not a SQL statement so you can't invoke it through JDBC. What you
could do is to write a stored procedure that invokes the respective DB2
API. However, with a procedure you will export the data to a file on the
database server.
Could you elaborate a bit more on what you want to do with the exported
file?
--
Knut Stolze
DB2 Information Integration Development
IBM Germany