If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Export DB2 table problem

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-02-07, 06:42
koby75 koby75 is offline
Registered User
 
Join Date: Dec 2007
Posts: 1
Export DB2 table problem

Hi All.
I am trying to create copy of very important table in my database.
I am trying to do so with export command like this:
"db2 export to /tmp/backup-db2/presrules.del of del messages /tmp/backup-db2/msg.txt select * from presrules"
My table contains XML column.
But when i run this script i get an error:
SQL3022N An SQL error "-104" occurred while processing the SELECT string in
the Action String parameter.
Can anybody help me to solve my problem please.

With Regards Koby.

Last edited by koby75; 12-02-07 at 07:14.
Reply With Quote
  #2 (permalink)  
Old 12-02-07, 10:46
guyprzytula guyprzytula is offline
Registered User
 
Join Date: Jun 2006
Posts: 471
check the export syntax and try to specify
-XML TO----xml-path-+-' '-XMLFILE----filename-+-'
__________________
Best Regards, Guy Przytula
DB2 UDB LUW certified V6/7/8
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On