Solved

function to convert raw datatype into ascii

Posted on 2001-07-26
2
2,377 Views
Last Modified: 2009-07-29
Is there any function to convert raw datatype into ascii in Oracle?
0
Comment
Question by:prashant_n_mhatre
2 Comments
 
LVL 1

Expert Comment

by:leolkk
ID: 6325331
RAWTOHEX(rawvalue).

return character string containing hexadecimal represntation. each byte of rawvalue is converted into a two-character string.


reverse is:
HEXTORAW
0
 
LVL 2

Accepted Solution

by:
vanmeerendonk earned 20 total points
ID: 6326122
sorry, breaking in...
use UTL_RAW.CAST_TO_VARCHAR2(<raw value>)

UTL_RAW is a very handy package for RAW-handling
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Number Format 1 44
Oracle Finace 3 46
Salary Amount Format 13 56
PL/SQL LOOP CURSOR 3 40
Why doesn't the Oracle optimizer use my index? Querying too much data Most Oracle developers know that an index is useful when you can use it to restrict your result set to a small number of the total rows in a table. So, the obvious side…
How to Create User-Defined Aggregates in Oracle Before we begin creating these things, what are user-defined aggregates?  They are a feature introduced in Oracle 9i that allows a developer to create his or her own functions like "SUM", "AVG", and…
This video shows setup options and the basic steps and syntax for duplicating (cloning) a database from one instance to another. Examples are given for duplicating to the same machine and to different machines
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now