Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Fri, 04 Mar 2005 @ 17:48:45 GMT


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


Subj:   Re: Random function with a column value
 
From:   Victor Sokovin

  Generic version with arbitrary minval and maxval:  


  random(1,2000000000) mod ( maxval - minval + 1) + minval  


It's probably too late to think about this now but whatever is left in my head of the lectures on math statistics issues a warning as to whether this will still be a *random* function. Of course, it doesn't matter for those who just want "some" numbers but those interested in the statistical quality of the data might need to do some testing.


Regards,

Victor



     
  <Prev Next>   <<First <Prev Next> Last>>  
 
 
 
 
 
 
 
 
  
  Top Home Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 15 Jun 2023