Call for Oracle support & training (800) 766-1884
Free Oracle Tips

Corporate Oracle Training
Custom Oracle Training
Oracle New Features Training
Advanced Oracle DBA Classes
Oracle Tuning Courses
Oracle Tips & Tricks
Oracle Training Links
Oracle Training Links
Oracle Training Links

We are top for USA Oracle Training Clients


Free Oracle Tips


Free Oracle App Server Tips


Oracle support

Oracle training

Oracle tuning


Remote Oracle

Custom Oracle Training


  Oracle Tips by Burleson

Chapter 6 Oracle Encryption

are not printable. Sometimes this can cause problems, such as in string assignments in some native languages. Also, when Oracle Globalization (a.k.a. National Language System - NLS) is used, the use of these special characters may pose some problems – especially while exporting and importing the data. Therefore, it is better to use the raw datatypes, since Oracle will handle the explicit conversion and these problems will not arise.

However, the use of raw datatypes poses another problem – the storage of these values in tables. Using RAW columns in tables is not the most convenient feature to use – and therefore database administrators and developers alike may eschew it.

To use the raw datatypes, there is another useful feature that can convert the raw data into hexadecimal format, which can be easily stored as a string.

The following code converts the value of the variable of raw datatype to a character format.

v_char_var := utl_raw.cast_to_varchar2(v_raw_var)

To convert a varchar2 value to raw, use the other function:

v_raw_var := utl_raw.cast_to_raw(v_char_var)

A raw value can be further converted into a hexadecimal value using the function RAWTOHEX, and a hexadecimal value can be converted into raw using the corresponding function, hextoraw.

Key Generation

The above text is an excerpt from:

Oracle Privacy Security Auditing

The Final Word on Oracle Security


This is the only authoritative book on Oracle Security, Oracle Privacy, and Oracle Auditing written by two of the world’s leading Oracle Security experts.

This indispensable book is only


 and has an immediate download of working security scripts:


Oracle performance tuning book



Oracle performance tuning software

Oracle performance tuning software
Oracle performance Tuning 10g reference poster
Oracle training in Linux commands
Oracle training Excel


email BC:

Copyright © 1996 -  2014 by Burleson Inc. All rights reserved.

Oracle® is the registered trademark of Oracle Corporation.