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!

can execute sys.dbms_crypto - but can't execute dbms_crypto without schema name

2621671Nov 3 2015 — edited Nov 3 2015

Hi all,

I can execute sys.dbms_crypto - but can't execute dbms_crypto without schema name.

Example:

select rawtohex(sys.dbms_crypto.hash(utl_raw.cast_to_raw(UPPER('LUCKY10')), 2)) as md5_64_pw from dual

does work

select rawtohex(dbms_crypto.hash(utl_raw.cast_to_raw(UPPER('LUCKY10')), 2)) as md5_64_pw from dual


doesn't work



How do I solve it?



Public synonym does exist:


select * from all_synonyms where synonym_name = 'DBMS_CRYPTO' and owner = 'PUBLIC'

PUBLIC  DBMS_CRYPTO SYS DBMS_CRYPTO

select * from v$version

Oracle Database 11g Express Edition Release 11.2.0.2.0 - 64bit Production

PL/SQL Release 11.2.0.2.0 - Production

CORE  11.2.0.2.0  Production

TNS for 64-bit Windows: Version 11.2.0.2.0 - Production

NLSRTL Version 11.2.0.2.0 - Production

This post has been answered by Solomon Yakobson on Nov 3 2015
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 1 2015
Added on Nov 3 2015
5 comments
810 views