dgs!
Member³
I make extensive use of templates to store cool things I use every day.
I am sometimes unable to simply drag/drop templates because developer request user input (where none should be expected).
In this example I am trying to extract the center portion of a table name (aaa_bbb_ccc), I just want to see the 'bbb'
If a template contains the line below, I am prompted for user input and if I do not provide any, the functioning portion of the statement is omitted.
SELECT regexp_substr('aaa_bbb_ccc', '[^ _]+', 1, 2) table_abbrev from dual;
Can we make the request for user input be & or &&?
I am sometimes unable to simply drag/drop templates because developer request user input (where none should be expected).
In this example I am trying to extract the center portion of a table name (aaa_bbb_ccc), I just want to see the 'bbb'
If a template contains the line below, I am prompted for user input and if I do not provide any, the functioning portion of the statement is omitted.
SELECT regexp_substr('aaa_bbb_ccc', '[^ _]+', 1, 2) table_abbrev from dual;
Can we make the request for user input be & or &&?