-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
String to table #4
Comments
May also get around this by piping the following query (would avoid having to create the type) select regexp_substr(:p1_x,'[^:]+', 1, level) my_id
from dual
connect by regexp_substr(:p1_x, '[^:]+', 1, level) is not null |
I've used Tony Andrews' parse package for a long time and it's great for this (2004 blog post): http://tonyandrews.blogspot.ie/2004/10/parsing-delimited-fields-in-character.html |
@vitodcampanelli @gilcrest I have done this but slightly differently. Need ideas for new name (read below). Side note: I've found Example:
The reason why I mentioned the new select rownum, column_value
from table(oos_util_string.listunagg('abc,def')); Note: What do you think the name of this function should be. I'm still a bit hesitant on calling it |
I mainly use this to create a list of values from a colon separated string in APEX, so what about string_lov? |
Will leave as |
The text was updated successfully, but these errors were encountered: