Louis Davidson creates a table:
Continuing on with the
REGEXP_
functions series, the next one I want to cover is the table valued functionREGEXP_SPLIT_TO_TABLE
. This function is definitely one of the ones you probably ought to know, especially if you are ever tasked to pull some data out of a data structure.This function is a lot like the
STRING_SPLIT
function, and unlike things like theREGEXP_LIKE
function, you can basically use the same main parameters as you used inSTRING_SPLIT
for simple cases, but from there the possibilities are a lot more endless because you can define almost any delimiters you want. It isn’t perfect, because of a few things, but we will discuss that more later on.
Read on to see how it works, including one major caveat.