A program that I need to work with stores geographical area definitions in MS Access DBs as arrays of 32-bit values in an "OLE Object" column.
When I extract one of these blobs using SELECT and then unpack it I get the numbers that I am expecting. However, when I pack a set of longs into a string and then write it to the DB using select I get rubbish. For some reason it writes twice as many bytes to the DB filed as were in the string and the value of the data is rubbish.
It appears that some conversion happens with an INSERT that doesn't happen when doing a select. I'd be grateful if anyone could point me towards an explanation. Thanks.