Release date: xxxx-xx-xx
Add support for Oracle's [DBA/ALL/USER]_SCHEDULER_JOBS and [DBA/ALL/USER]_SCHEDULER_RUNNING_JOBS view, currently only supporting a subset of fields。
Refer SCHEDULER_JOBS and SCHEDULER_RUNNING_JOBS for details。
Partial Support for Oracle's DBMS_SCHEDULER Package。
Support DBMS_SCHEDULER.CREATE_JOB, DBMS_SCHEDULER.DROP_JOB, DBMS_SCHEDULER.ENABLE, DBMS_SCHEDULER.DISABLE , DBMS_SCHEDULER.EVALUATE_CALENDAR_STRING, DBMS_SCHEDULER.SET_ATTRIBUTE.
Refer DBMS_SCHEDULER for details。
Plorasql support for SYSDATE at Statement Level.
Support multiple EXCEPTION WHEN
branches in plorasql. Users can predefine multiple exception handling blocks in plorasql, when the program execution process encounters an execution exception, the execution will enter the corresponding exception handling module. The usage is described below:
create table t_uniq(a int primary key); CREATE OR REPLACE PROCEDURE pro100 is a int:=0; BEGIN insert into t_uniq values(1); insert into t_uniq values(1); a:=10/0; EXCEPTION when unique_violation then dbms_output.put_line('unique_violation'); when division_by_zero then dbms_output.put_line('division_by_zero'); when others then dbms_output.put_line(sqlcode||' '||sqlerrm); END; / call pro100; unique_violation CALL
Support varray
based on record
. The usage is described below:
CREATE OR REPLACE PROCEDURE pro100 is type test_rc_type is record(a int,b varchar,d date); type va_type is varray(3) of test_rc_type; v1 va_type := va_type(); BEGIN v1(0).a = 11+88; v1(1).b = 'ab'||'cd'; v1(2).d = to_date('2022-01-01','yyyy-mm-dd') + interval '1 day'; dbms_output.put_line(v1(0).a || ',' || v1(1).b || ',' || v1(2).d); END; / call pro100; 99,abcd,2022-01-02 00:00:00 CALL
No new features in this version。
Support not to convert semijoin to innerjoin by a new parameter lightdb_prefer_semi.