Home Page for the TeradataForum

Archives of the TeradataForum

Message Posted: Tue, 27 Jul 2004 @ 16:42:49 GMT

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

Subj:   Re: String length function
From:   Victor Sokovin

  Just so you know, LENGTH is *not* a Teradata function. If you run these queries form BTEQ, you'll get a syntax error. It's actually an ODBC function which is mapped by the driver to CHARACTER_LENGTH. Run a 'select length(user);' from Queryman and look at the column heading.  

My Queryman and the ODBC driver return


That would rather suggest that they convert LENGTH to CHARACTERS. I must admit I did not experience any problems with the conversion so far and I am quite used to LENGTH.

You are right about the BTEQ syntax, though.



  <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: 23 Jun 2019