Home Page for the TeradataForum
 
 

 

Archives of the TeradataForum





Message Posted: Wed, 21 Sep 2005 @ 19:04:57 GMT





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




Subj:   Re: Query to get the last space in a string.
 
From:   Mohommod.Khan



I am assuming your text length may vary. The easiest way is to write a stored procedure. You can check on the total length and then use index (text, ' ') and keep doing that till you reach the end (that is loop through) and pick the last one.


Good luck!





     
  <Prev Next>   <<First <Prev Next> Last>>  
 
 
 
 
 
 
 
 
  
 
  Top Home Join Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky 
Last Modified: 30 Jun 2008