Visual C++, CMap object save to blob column
Posted
by
ilansch
on Programmers
See other posts from Programmers
or by ilansch
Published on 2012-09-27T07:57:27Z
Indexed on
2012/09/27
9:50 UTC
Read the original article
Hit count: 196
I have a MFC CMap object, each object stores 160K~ entries of long data. I need to store it on Oracle SQL. we decided to save it as a blob. since we do not want to make additional table. we also thought about saving it as local file and point the SQL column to that file, but we rather just keep it as blob on the server and clear the table every couple of weeks.
The table has a sequential key as ID, and 2 column of time. I need to add the blob column in order to store on every row that CMap.
Can you recommend a guide to do so (read/write Map to blob or maybe a clob) ? Thanks.
© Programmers or respective owner