Solved

function to convert raw datatype into ascii

Posted on 2001-07-26
2
2,422 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

Technology Partners: 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

Suggested Solutions

Title # Comments Views Activity
Oracle SQL syntax check  without executing 6 104
Trying to get a Linked Server to Oracle DB working 21 76
Oracle function to insert records? 15 62
error doing substr 3 34
Truncate is a DDL Command where as Delete is a DML Command. Both will delete data from table, but what is the difference between these below statements truncate table <table_name> ?? delete from <table_name> ?? The first command cannot be …
Background In several of the companies I have worked for, I noticed that corporate reporting is off loaded from the production database and done mainly on a clone database which needs to be kept up to date daily by various means, be it a logical…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.

740 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