Home Page for the TeradataForum
 
 

 

Archives of the TeradataForum





Message Posted: Mon, 08 Jul 2002 @ 19:58:05 GMT





     
  <Prev Next>   <<First <Prev Next> Last>>  




Subj:   Re: Uniform Distributions from RANDOM number function
 
From:   Jim Downey



Geoffrey's note made me think of something that had not occurred to me before.

For each pass, can you generate a random number with a different range?

random(1,1000000)
random(1000001,2000000)
...

-or-

generate each set independent of the others and add a value to ensure that the subset is independent.

random(...)+1000000
random(...)+2000000
...

JIm





     
  <Prev Next>   <<First <Prev Next> Last>>  
 
 
 
 
 
 
 
 
  
 
  Top Home Join Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky 
Last Modified: 30 Jun 2008