Home Page for the TeradataForum
 
 

 

Archives of the TeradataForum





Message Posted: Thu, 11 Oct 2001 @ 15:01:44 GMT





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




Subj:   Re: A problem using the RANDOM() function
 
From:   Geoffrey Rommel



The problem you describe (which I have reproduced on my system) is indeed intriguing. The documentation, however, suggests that you are doing something verboten.

Combination With Other Functions and Clauses ===

The following rules and restrictions apply to the use of the RANDOMfunction.

. RANDOM can only be called in a SELECT list.

. RANDOM cannot be referenced by position in a GROUP BY or ORDER BY clause.

Perhaps the "fix" should be generating a syntax error when RANDOM is used in a VALUES clause.





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