Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> problem when storing a byte string

problem when storing a byte string

From: MPG <pg_miguel_at_hotmail.com>
Date: Mon, 12 May 2003 13:16:47 GMT
Message-ID: <39Nva.720472$0M1.734994@telenews.teleline.es>


Hi all,
I need to save in a table a string of bytes for further treatment. This string of bytes is saved in to the data base from a proC and Visual Basic programs and then is retrived from the database by this programs for further manipulation. For this purpose I have used a VARCHAR2 field. The problem that I encounter is as follows:
1) I save a string of bytes in the table from a proC or a Visual C program. 2) PROBLEM: When I retrieve this string from the table for further treatment I find out that some of the byte values are different from the ones that I saved in the first place. I have found out that this happens in bytes with certain values:


żDoes anybody know how why this byte-changing is happening?
żDoes anybody know another data type where to store byte strings(500 bytes
at the most). I Thought of using a RAW type field, but I need to manipulate the string (bit and byte level) and I don't know how to do that with this data type.

Thaks in advance,
Miguel. Received on Mon May 12 2003 - 08:16:47 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US