|
|
Archives of the TeradataForum
Message Posted: Mon, 27 Aug 2007 @ 20:44:22 GMT
Subj: | | Stripping numeric data in varchar(900) |
|
From: | | Schafer, Michael |
I have a field that contains varchar(900) that I would need to strip only the numeric data from. If there are multiple numbers separated by any
text (including spaces) I would like to capture them as separate numbers. I have included some example data below. Any help would be greatly
appreciated. Thank you,
Example data:
1234 some string
Text 345 more junk
35 5th stuff
123, 5687 garbage text 26
Desired result:
1234
345
35 5
123 5687 26
| |