Hi There
Db2 has tools to import and export to flat file in several formats.
Db2 import from d:\temp.del of del insert into table1
The other format is ixf.
There is also a load function which is much faster than an import as it doesn't log so for big files use load but it might put you tablespace into backup pending mode so you will have to do a backup afterwards.
I know DB2 on IBM mainframe has a load utility called DB2LOAD (or something like that) which takes flat csv files and puts them straight into tables. You just need to remember to format the individual values correctly for the insert e.g. strings in 'quotes' etc.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.