Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Sat, 30 Jan 2010 @ 10:43:00 GMT


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


Subj:   Re: Locating a characters position
 
From:   Dong, haizhen

Try this:

     SELECT INDEX (substring(column_x from (INDEX(column_x, ' ' ) +1)), ' ' )
     FROM database.table;

Regards,

HD



     
  <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: 15 Jun 2023