1 Answer
- Newest
- Most votes
- Most comments
2
Hello Joe,
You can try using the split_part string function as below
select params, split_part(params, '/', 3) as col1, split_part(params, '/', 4) as col3, split_part(params, '/', 5) as col3, split_part(params, '/', 6) as col4 from ( select '/BJ/1/10/114/201010049' as params ) tmp
Please feel free to comment if you have further issues
Relevant content
- asked 8 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 9 months ago
Thanks a lot. This works fine.