Home Page for the TeradataForum
 
https:

Archives of the TeradataForum

Message Posted: Wed, 11 Jul 2007 @ 15:59:23 GMT


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


Subj:   Re: 3706 Syntax error: Data Type does not match a Defined Type name
 
From:   Dieter Noeth

It is simple, but no SQL, at least no Teradata SQL :-)

It's ODBC SQL, just replace LENGTH with CHAR_LENGTH.

The ODBC driver will parse the SQL and replace all ODBC SQL function calls with valid Teradata SQL.

There's a section in the ODBC manual about supported ODBC SQL functions like LTRIM/LEFT. You're not supposed to use those, better replace it with valid Teradata SQL.

If you don't want to get similar errors, just switch it off in QueryMan:
Tools > Options -> Allow Use of ODBC SQL Extensions in Queries


Dieter



     
  <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