Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Fri, 24 Mar 2006 @ 21:10:08 GMT


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


Subj:   Valid criteria that returns zero rows
 
From:   Stratton, Gary

Is this a known bug:

When I run a query to return some ID values, and then use those values in the where clause of another select statement, no rows are returned.

I've had enough eyes on this to ensure it's not a typing error. One of our dba's reverted to a previous ODBC driver to correct the problem for someone else.

Does anyone have any specifics? Articles?

Thanks!


     Data type = dec(18)

     TD Version 7.0.0

     ODBC Version 3.04.00.00

Rough example:

     SELECT ID_COL FROM TABLE WHERE  DATE = '1/1/06'

     3 rows returned
     123
     456
     789


     SELECT ID_COL FROM TABLE WHERE DATE = '1/1/06'
     AND ID_COL IN
     (
     123,
     456,
     789
     )

     0 rows returned


     
  <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