Store/Retrieve blob using tiodbc in c++
Hi All,
I was wondering if you have a simple code on storing/retrieving blob.
I have managed to store blob using tiodbc but the stored data is always bigger a few bytes. if i have a text file, the stored data will be the text in the file plus few bytes of junk.
I convert my file to an array of unsigned char then bind the whole array and execute.
execution always successful but stored data is always few bytes larger.
i have also a code to retrieve blob, but its only able to retrieve small data(less than 1kb), bigger than 1kb the rest of the file will be junk characters.
Similar to the way i store, i retrieve the data and save it to an array of unsigned char at once, ie no loop or whatsoever.
Any idea?
Thanx in advance
asa
Subject
Views
Written By
Posted
Store/Retrieve blob using tiodbc in c++
1167
December 16, 2010 12:55PM
632
December 16, 2010 05:10PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.