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!

how to generate hash code, that contains not only numbers or letters

WestDraytonFeb 25 2010 — edited Feb 25 2010
I managed to generate hash code as number-codes (5515820 and 55):

SELECT dbms_utility.get_hash_value('A'||TO_CHAR(SYSDATE, 'HH:MI:SS'), 8, 10000000),
ORA_HASH('A'||TO_CHAR(SYSDATE, 'HH:MI:SS'), 99, 100)
FROM dual;--5515820 , 55

But i want to generate hash, that contains only letters or only numbers, and i determine the length of the hash.

How to do?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 25 2010
Added on Feb 25 2010
3 comments
4,311 views