Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 04 Feb 2014 @ 20:36:09 GMT


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


Subj:   Is OREPLACE always case sensitive
 
From:   Anomy Anom

<-- Anonymously Posted: Tuesday, February 04, 2014 13:57 -->

Hi,

I am getting to grips with using the relatively new OREPLACE function that will replace a searched string with another.

I have noticed that it is case sensitive even when the incoming source column is defined as NOT CS.

Is there any way to make it ignore case sensitivity? I am guessing by the definition you cannot.

So,

     SELECT OREPLACE  ('mon Tue Wed' , 'MON' , 'Mon') will do nothing.

However

     SELECT OREPLACE  ('mon Tue Wed' , 'mon' , 'Mon') returns 'Mon Tue Wed'

thank you



     
  <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: 27 Dec 2016