Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Need help on hextoraw on timestamp

769072Apr 24 2012 — edited Apr 24 2012
I'm unable to do HEXTORAW on a column which is populated using RAWTOHEX function in oracle.

Database Version: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Prod

To Replicate Scenario:

create table row2hex (name raw(255));

insert into row2hex values (rawtohex(localtimestamp));

select localtimestamp,hextoraw(name) from row2hex

Expected Result: I expect the result similar to localtimestamp column output when I do hextoraw(name) in above query, but it does not work. Please assist.

Thanks in Advance!!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 22 2012
Added on Apr 24 2012
8 comments
2,101 views