Archives of the TeradataForum
Message Posted: Fri, 08 Apr 2005 @ 15:28:59 GMT
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
|