template q notations

pocelka

Member
I have a template script which contains q notation commands i.e.

Code:
sys.dbms_output.put_line('select output from table(dbms_workload_repository.ash_report_html(l_dbid => ' || v_dbid ||
                           ',l_inst_num => ' || v_instance || q'[,l_btime => to_date(']' || to_char(v_start,'dd.mm.yyyy hh24:mi:ss') ||
                           q'[','dd.mm.yyyy hh24:mi:ss'),l_etime => to_date(']' ||
                           to_char(v_end,'dd.mm.yyyy hh24:mi:ss') || q'[','dd.mm.yyyy hh24:mi:ss')));]');

When I try to use script from the template, template window pop-ups asking for "bind" variable values.

Is there a way how to tell template script that if Oracle's q notation is used it should ignore "[]"?

I'm using version 10.0.5.1710
 
Back
Top