0

Create table temp(col raw(40));

Insert into temp values(0x02900000AB45GH38);

Error: ORA-00917: missing comma

Mouni
  • 1
  • 3
  • Does this answer your question? [How to insert Hex data into the oracle table?](https://stackoverflow.com/questions/17080589/how-to-insert-hex-data-into-the-oracle-table) – astentx Aug 03 '21 at 17:09

1 Answers1

0

First, your data is not correct hex - "GH" should not be there.

Once you get your data right,

Just pass hex as varchar -

Insert into temp values('0290')

It is same as -

Insert into temp values(hextoraw('0290'))
ch_g
  • 1,394
  • 8
  • 12