Line 15: select upper(ad_zd.get_edition_type) into EDITION_TYPE from dual; -- This will give error when executed in Non editioned environment
11: -- dbms_aw.execute('awwaittime = 1000000; &(if aw(attached ''ODPCODE'') then ''shw NA'' else ''aw attach ODPCODE rw wait'')');
12:
13: -- modified for Online patching support
14: 15: select upper(ad_zd.get_edition_type) into EDITION_TYPE from dual; -- This will give error when executed in Non editioned environment 16: if EDITION_TYPE = 'PATCH' then
17: dbms_aw.AW_ATTACH('ODPCODE_PATCH_EDITION',true,true,'wait');
18: else
19: dbms_aw.AW_ATTACH('ODPCODE',true,true,'wait');