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!

convert any string to an unique number

kaericnMay 9 2018 — edited May 10 2018

How to convert any string to an unique number?

My goal is to create an unique ID that is a number so that I can use dbms_parallel_execute.

e.g.

I have an ID of the format

"146-210-57-221-233-35-13-79-190-180-225-6-46-132-227-104-159-157-187-208"

another example

col1=04-DEC-15 10.10.41.000000000 PMĀ  timestamp

col2=CLS

col3=A178082152

These three attribute define the uniqueness of my source.

So I try to create a surrogate key which is a number base on that

and then use dbms_parallel_execute.

This post has been answered by unknown-7404 on May 10 2018
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 7 2018
Added on May 9 2018
9 comments
3,087 views