Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 16 Jul 2002 @ 15:17:26 GMT


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


Subj:   Aggregate functions in SQL
 
From:   Santosh X Narayan

I am trying to retrieve records from Teradata from VB using ADO through ODBC. However if there are aggregate functions in the SQL, no records are being returned to the recordset.

e.g  This works:         select A, B from table1;
     THIS DOES NOT: select A, sum(C) C from table1 group by A;

Does anyone have any insight on this.


Thanks in advance,

Santosh



     
  <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