File tree Expand file tree Collapse file tree 3 files changed +11
-6
lines changed
Expand file tree Collapse file tree 3 files changed +11
-6
lines changed Original file line number Diff line number Diff line change 1- ` METHOD4 ` 2.1.8
1+ ` METHOD4 ` 2.1.9
22============
33
44Method4 is a PL/SQL application to run dynamic SQL in SQL.
Original file line number Diff line number Diff line change 11CREATE OR REPLACE PACKAGE method4 AS
22
3- C_VERSION constant varchar2(10) := '2.1.5 ';
3+ C_VERSION constant varchar2(10) := '2.1.9 ';
44
55 /*
66 || ---------------------------------------------------------------------------------
Original file line number Diff line number Diff line change @@ -208,18 +208,23 @@ begin
208208 end;
209209
210210 --Long.
211- --This view is the same in 11g and 12c, hopefully it's the same in all versions.
212211 declare
213212 actual1 clob;
214213 begin
215214 execute immediate
216215 q'<
217- select *
218- from table(method4.query('select text from dba_views where view_name = ''DBA_EXP_VERSION'''))
216+ select trim(data_default)
217+ from table(method4.query('
218+ select data_default
219+ from all_tab_columns
220+ where owner = ''SYS''
221+ and table_name = ''JOB$''
222+ and column_name = ''FLAG''
223+ '))
219224 >'
220225 into actual1;
221226
222- assert_equals('Long 1.', 'select o.expid'||chr(10)||'from sys.incvid o ', actual1);
227+ assert_equals('Long 1.', '0 ', actual1);
223228 end;
224229
225230 --Date.
You can’t perform that action at this time.
0 commit comments