Home Page for the TeradataForum
 
https:

Archives of the TeradataForum

Message Posted: Wed, 11 Jul 2007 @ 16:36:40 GMT


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


Subj:   Re: 3706 Syntax error: Data Type does not match a Defined Type name
 
From:   Victor Sokovin

LENGTH is an ODBC function; it is not available in BTEQ.

Try to replace it with something like CHARS:

     SELECT CHARS(tracking_no_merge)
     FROM orderstat.tracking_no_TMP
     WHERE CHARS(tracking_no_merge) > 200;

Are you on a very recent release? The error message used to be different.


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: 28 Jun 2020