Solved

function to convert raw datatype into ascii

Posted on 2001-07-26
2
2,468 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and the…
I remember the day when someone asked me to create a user for an application developement. The user should be able to create views and materialized views and, so, I used the following syntax: (CODE) This way, I guessed, I would ensure that use…
This video shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.
Via a live example, show how to take different types of Oracle backups using RMAN.
Suggested Courses

626 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