yerai
asked on
how read and write in column long raw in PL/SQL
Hi,
Exists character data in a table in format long raw, and I need to read this data in long raw and how to write in pl/sql in oracle 10gr2
regards
Gerid Garcia
Exists character data in a table in format long raw, and I need to read this data in long raw and how to write in pl/sql in oracle 10gr2
regards
Gerid Garcia
ASKER
i need the data in ascii it's look how hexa
The function RAWTOHEX converts raw to a character value containing its hexadecimal equivalent.
http://www.stanford.edu/dept/itss/docs/oracle/10g/server.101/b10759/functions110.htm
http://www.stanford.edu/dept/itss/docs/oracle/10g/server.101/b10759/functions110.htm
ASKER
i need to convert the raw to char
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Forced accept.
Computer101
EE Admin
Computer101
EE Admin
declare
l2 long raw;
l1 long raw;
begin
select raw_col INTO l2 from <tableA>;
l1:=substr(l2, 356789,55);
end;
/