I am having trouble finding the correct syntax to parse out a word between two characters in Netezza.
I think Netezza supports regexp_extract(). That would be:
regexp_extract()
select replace(regexp_extract(name, ',[^ ]+'), ',', '')
Or regexp_replace():
regexp_replace()
select regexp_replace(name, '^[^,]+,([^ ]+)( |$).*$', '1')
2.1m questions
2.1m answers
60 comments
57.0k users