This discussion is archived
2 Replies Latest reply: Jun 20, 2012 2:57 AM by 941776 RSS

ORA-06502: PL/SQL: numeric or value error: hex to raw conversion error

941776 Newbie
Currently Being Moderated
Hi

I am using
str varchar2(20) := 'Delhi';
row_id RAW(100);

begin
row_id = HEXTORAW (str);

end;

I am geeting this error: ORA-06502: PL/SQL: numeric or value error: hex to raw conversion error.

Please suggest..

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points