2 Replies Latest reply: Jun 20, 2012 4:57 AM by 941776 RSS

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

    941776
      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..