BLOB conversion when SaveToXML
Posted: Thu  20 Nov 2014 11:46
				
				Hi,
I have a BLOB field in my table and I'm using TMyQuery.SaveToXML. The information in my BLOB field (MyField) is for example the string "Hello" and it's stored in the XML file as:
MyField="48656C6C6F"
(It seems that it's converting it to its hex ASCII char as string)
Anyway, at a later time I export from XML to my database (using "LOAD XML LOCAL INFILE....") and I get in "MyField" BLOB the content: 48656C6C6F (instead of the original string "Hello").
Is there any special parameter to read back the expected BLOB field string?
Thanks!
			I have a BLOB field in my table and I'm using TMyQuery.SaveToXML. The information in my BLOB field (MyField) is for example the string "Hello" and it's stored in the XML file as:
MyField="48656C6C6F"
(It seems that it's converting it to its hex ASCII char as string)
Anyway, at a later time I export from XML to my database (using "LOAD XML LOCAL INFILE....") and I get in "MyField" BLOB the content: 48656C6C6F (instead of the original string "Hello").
Is there any special parameter to read back the expected BLOB field string?
Thanks!