DECLARE Porta NUMBER; BEGIN Porta := dbms_xdb_config.gethttpport from Dual; END; / SELECT dbms_xdb_config.gethttpport FROM dual; GETHTTPSPORT ------------ 5500 EXEC DBMS_XDB_CONFIG.sethttpsport(5500);