Home Page for the TeradataForum

Archives of the TeradataForum

Message Posted: Fri, 16 Mar 2012 @ 16:39:09 GMT

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

Subj:   Re: Lenth of String without using Lengh functions
From:   de Wet, Johannes

Can you use CHAR()?

     SELECT char('123');

Another approach might be to to use Index:

     sel index('123'||'~','~') - 1;

Johannes de Wet

  <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