Importing table into database (DB2)
I have a table which contains an XML type column. I make export for this table using IXF format. when I tried to make import for this table, it gives me error saying you may use File Type Modifier (FORCECREATE) or You should use db2look tool to extract information from the table then make Insert. I do not know how to use File Type Modifier (FORCECREATE)? Can anyone expalin?
What is db2look tool? where can I find th开发者_如何学Gois tool? How to use it? I searched alot but no website talks about those tools!
What you wrote could have several possible causes. Without the concrete error message it's hard to find the exact problem. On this page you find several problems that require the use of FORCECREATE: Link
With that you might be able to correct the cause and don't need to use FORCECREATE or DB2LOOK.
Import with FORCECREATE:
The modifier is just an parameter for the import-command:
db2 import from <file> of ixf modified by forcecreate replace_create into <tab>
You can get an short reference for the import-command in the commandline:
db2 ? import
Or read the details in IBMs very comprehensive online docmentation
DB2LOOK-Tool:
The db2look-tool ist part of db2 (at least in v.9.5 on windows). Just enter db2look
in commandline, if it is installed you get short parameter overview. Again, the IBM online documentation would provide you with detailed information.
精彩评论