shakti
New User
Joined: 20 Jan 2004 Posts: 42
|
|
|
|
Hi,
I am going to use the following query for generating the randon number for program A.
SELECT DECIMAL (RAND() * 999999999999 ,12,0)
DECIMAL (RAND() * 999999999999 ,12,0)
INTO :HV-1
:HV-2
FROM SYSIBM.SYSDUMMY1
WITH UR
Question:
If the same query used by program B (In parallel with A). Is there any chance of duplicate random number generated by A and B if they run parallel.
Thanks in advance |
|