Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 22 Mar 2012 @ 21:36:36 GMT


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


Subj:   Re: HELP: SELECT failed. 3706: Syntax error
 
From:   abhishek.gupta

try this..

     SELECT top 255  , count(*)
     from ( select  from ABC.def sample 500000 ) tab1
     group by 1 order by 2 desc;

Value is a restricted keyword and you cannot use it in a select query..

Abhishek



     
  <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