Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Fri, 03 Oct 2015 @ 00:23:38 GMT


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


Subj:   Re: STUFF Function equivalent in Teradata
 
From:   Clark, Dave

Roopalini- You can use a combination of functions (SUBSTRING and Concatenation):

     SELECT Substring ('Teradata' from 1 for 1)
            || 'data'
            || substring ('Teradata' from 5 for 4) AS OUTPUT;

     OUTPUT
     ---------
     Tdatadata

Also, see the INDEX operator and OREPLACE function.

-dave.clark



     
  <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