Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi
I have field Data like below
Data:
abc1927-23
2345asjjh123sdh
dr34
text123
111.
222.
333.
I want load only numbers instead of string.and remove the (.)in number.
Output:
111
222
333
Thanks
Try it with:
t: load replace(FIELD, '.', '') as FIELD from Source where isnum(replace(FIELD, '.', ''));
- Marcus
Another possibility
Table:
LOAD Num(Num#(Data, '##.')) as Data
Where Num(Num#(Data, '##.'));
LOAD * INLINE [
Data
abc1927-23
2345asjjh123sdh
dr34
text123
111.
222.
333.
];