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!
for the following code, how can I get the first 5 values to occur twice as often as the last 5 values?
Do I have to use nested loops?
Begin
For n in 1 .. 10
Loop
dbms_output.put_line (ROUND(dbms_random.value(1, 10)));
End Loop;
End;
/