BULK Return from FORALL insert. CREATE TABLE ashish_bulk_ret ( id NUMBER GENERATED AS IDENTITY PRIMARY KEY, name VARCHAR2 (31) ); DECLARE TYPE l_rec_typ IS RECORD ( id NUMBER, name VARCHAR2…
Referred from Oracle APEX Page Designer Help . How to upload Multiple files in APEX? declare l_file_names apex_t_varchar2; l_file apex_application_temp_files%rowtype; begin l_file_names := apex_string.split ( p_str => :page item name, p_sep =>…
How to reorder ORACLE table columns? Sample table Copy CodeCopiedUse a different BrowserCREATE TABLE test_columns_table ( id NUMBER, name VARCHAR2 (200), created_by VARCHAR2 (50) ); Add a column Copy CodeCopiedUse…
Copy CodeCopiedUse a different BrowserSELECT a.osuser, a.sid, b.os_user_name, b.oracle_username, b.session_id, c.object_name, c.object_type FROM v$session a, v$locked_object b, dba_objects c WHERE a.sid = b.session_id AND b.object_id = c.object_id AND c.object_name =…
Working with APEX? You should use the below Themes, Tools and Bolilerplates. Referred from Awesome APEX . Themes Universal Theme - Official Theme shipped with APEX > 5.0 - by Oracle APEX Development…
Referred from Oracle Standard Document Data retrievable / parsing using JSON_TABLE Copy CodeCopiedUse a different BrowserSELECT jt.* FROM json_table('JSON STRING', '$' COLUMNS ( "COLUMN_NAME" VARCHAR2(4000) PATH '$.JSON_KEY' .... .... , NESTED…
PL/SQL provides three collection types − Index-by tables or Associative array Syntax TYPE type_name IS TABLE OF element_type [NOT NULL] INDEX BY subscript_type; table_name type_name; Example TYPE l_tab_type IS TABLE…