Home Page for the TeradataForum
 
https:

Archives of the TeradataForum

Message Posted: Fri, 08 Apr 2005 @ 15:28:59 GMT


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


Subj:   Re: Extracting piece of data from a string of text
 
From:   Hassinger, Bill

I would say it depends on the consistancy of the data. Can you find the position of ac and network and substring between the two?

     SUBSTRING ( fieldname FROM Position('ac=' In fieldname) FOR
               (Position(',net' In fieldname) - Position('ac=' In fieldname)))

You may need to play with the values (add or subtract amounts) to get just the characters you want.

Bill H



     
  <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