Forum
Hi Antragon,
komme leider erst heute dazu zu antworten: XML-, BLOB- und CLOB-Daten sind "anders", aber das hast Du ja schon längst erkannt, was das letzte Code Sniplet zeigt.
Vermutlich triffst Du noch auf andere MySQL-Fragestellungen, weswegen ich Dir dringend folgendes Redbook der IBM empfehlen möchte: "MySQL to DB2 Conversion Guide" unter http://publib-b.boulder.ibm.com/abstracts/sg247093.html?Open.
Dort: "Binary Large Objects (BLOB data type) usually contain binary data. Exporting of binary data into text files is not possible. So, if your BLOBs contain binary data, you must convert them in a different way than exporting and loading. The IBM Data Movement tool handles the conversion BLOB data for you."
Wenn denn mal die BLOB’s separiert in einzelnen Files vorliegen, könntest Du den IMPORT Command verwenden:
Siehe http://publib.boulder.ibm.com/infocenter/db2luw/v9r7/topic/com.ibm.db2.luw.xml.doc/doc/r0024040.html sowie http://publib.boulder.ibm.com/infocenter/db2luw/v9r7/topic/com.ibm.db2.luw.admin.cmd.doc/doc/r0008304.html.
Ich hoffe es hilft weiter. Ist halt jetzt eine "Fleißarbeit".  :-/
Gruß
Gernot
PS: Einen Visual Studio .net Plugin gibts auch noch.