DECLARE l_parm_names apex_application_global.vc_arr2; l_parm_values apex_application_global.vc_arr2; l_clob CLOB; P_EMAIL_ID varchar2(100):='ashishk392@gmail.com'; P_CC_MAIL varchar2(100):='vikaspandey641@gmail.com'; BEGIN l_parm_names (1) := 'input'; l_parm_values (1) := '{"items":{ "EMAIL_ID": "'||P_EMAIL_ID||'","CC_MAIL":"'||P_CC_MAIL||'"}}'; -- to invoke json , Directly pass Json in parameter value. htp.p(l_parm_values(1)); -- Get the XML response from... Read more
Referred from Oracle Standard Document . APEX_JSON write unescaped JSON write an unescaped array attribute. use the escaping write() procedures instead, if possible. EXAMPLE Write an array attribute that contains JSON Read more
First Day of the YEAR by ROUND function This function works similar to ROUND of numbers, if the month is geater than six (6) then return the day of next year else it returns day of current year. SELECT ROUND... Read more
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 (32) ); TYPE l_ret_list_tbl_typ IS TABLE OF l_rec_typ; l_ret_list_tbl l_ret_list_tbl_typ;... Read more
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 => ':' ); for i in 1 .. l_file_names.count loop select... Read more
How to reorder ORACLE table columns? Sample table CREATE TABLE test_column ( id NUMBER, name VARCHAR2 (200), created_by VARCHAR2 (50) ); Add a column ALTER TABLE TEST_COLUMN ADD EMAIL VARCHAR2(50); Column Order will be Reorder Email next to NAME. ALTER... Read more
Referred from Oracle Standard Document . List of APEX APIs APEX_COLLECTION APEX_AUTOMATION APEX_CSS APEX_DATA_EXPORT APEX_DATA_PARSER APEX_DEBUG APEX_ESCAPE APEX_EXPORT APEX_IG APEX_IR APEX_ITEM APEX_JAVASCRIPT APEX_JSON APEX_LANG APEX_LDAP APEX_MAIL APEX_PAGE APEX_SESSION APEX_STRING APEX_WEB_SERVICE APEX_ZIP Read more
Oracle Application Express JavaScript API Reference Widgets Usefull Namespaces Read more