Skip to Main Content

Oracle Database Discussions

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!

What is the possibility of getting the same random number repeated again?

986905Jan 27 2013 — edited Jan 28 2013
I would like to generate a 5 digit random number;

select round(dbms_random.value(10, 999990)) from dual;

The above query seems good enough but what is the possibility of getting the same random number repeated again? I am fine with repetition as long as it does not repeat within a second. Is there any such guarantee?

Thanks
Venkatesh
This post has been answered by Jonathan Lewis on Jan 28 2013
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 25 2013
Added on Jan 27 2013
23 comments
1,306 views