Change Apex License Page
/* Courtesy to Dietmar Aust */
DECLARE
RESULT BOOLEAN;
l_html VARCHAR2 (512);
PROCEDURE remove_resource (p_res_path IN VARCHAR2)
IS
BEGIN
IF DBMS_XDB.existsresource (p_res_path)
THEN
DBMS_XDB.deleteresource (p_res_path, DBMS_XDB.delete_force);
END IF;
END;
BEGIN
l_html :=
'Hello world';
remove_resource (p_res_path => '/index.html');
remove_resource (p_res_path => '/index.htm');
RESULT := DBMS_XDB.createresource ('/index.html', l_html);
COMMIT;
END;
/

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home