Oracle DBMS_CLOBUTIL
Version 12.1.0.2

General Information
Library Note Morgan's Library Page Header
The Library is currently in the process of being upgraded from Oracle Database Version 12.1.0.2 to 12.2.0.1. Demos are being upgraded to reflect the new Container paradigm as well as EBR (Edition Based Redefinition) and may contain references to CDBs, PDBs, and other objects you may not be familiar with such as CDB_OBJECTS_AE: Welcome to 12c.

Also important ... there are rumors on the web about SPARC and Solaris being discontinued. Welcome to the age of fake news. There is absolutely not a byte of truth to these irresponsible rumors.
Purpose Undocumented
AUTHID CURRENT_USER
Dependencies
DBMS_LOB DBMS_XSLPROCESSOR URITYPE
DBMS_STANDARD DBMS_XSLPROCESSOR_LIB UTL_FILE
DBMS_XMLDOM URIFACTORY UTL_RAW
DBMS_XMLPARSER    
Documented No
First Available 12.1.0.2
Security Model Owned by XDB with EXECUTE granted to PUBLIC
Source {ORACLE_HOME}/rdbms/admin/prvtxslp.plb
Subprograms
 
CLOB2URL
Undocumented

This package may be protected with the 12c ACCESSIBLE BY clause
dbms_clobutil.clob2url(
cl      IN CLOB,
url     IN VARCHAR2,
basedir IN VARCHAR2,
csid    IN NUMBER);
conn / as sysdba

ALTER USER xdb IDENTIFIED BY xdb ACCOUNT UNLOCK;
exec xdb.dbms_clobutil.clob2url('Test', 'www.test.com', 'test', 1);
BEGIN xdb.dbms_clobutil.clob2url('Test', 'www.test.com', 'test', 1); END;
*
ERROR at line 1:
ORA-06550: line 1, column 7:
PLS-00904: insufficient privilege to access object DBMS_CLOBUTIL
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored

ALTER USER xdb IDENTIFIED BY xdb ACCOUNT UNLOCK;

conn xdb/xdb

exec xdb.dbms_clobutil.clob2url('Test', 'www.test.com', 'test', 1);
BEGIN xdb.dbms_clobutil.clob2url('Test', 'www.test.com', 'test', 1); END;
*
ERROR at line 1:
ORA-06550: line 1, column 7:
PLS-00904: insufficient privilege to access object DBMS_CLOBUTIL
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
 
FP2BLOB
Undocumented dbms_clobutil.fp2blob(
fp        IN utl_file.file_type,
id        IN BINARY_INTEGER,
datatype  IN BINARY_INTEGER,
byte_mode IN BOOLEAN)
RETURN BLOB;
TBD
 
GETBOMOFFSET
Undocumented dbms_clobutil.getBOMOOffset(rawbuf IN RAW) RETURN BINARY_INTEGER;
TBD
 
URL2CLOB
Undocumented dbms_clobutil.url2clob(
url     IN VARCHAR2,
basedir IN VARCHAR2,
csid    IN NUMBER)
RETURN CLOB;
TBD

Related Topics
DBMS_LOB
Packages
What's New In 12cR1
What's New In 12cR2

Morgan's Library Page Footer
This site is maintained by Dan Morgan. Last Updated: This site is protected by copyright and trademark laws under U.S. and International law. © 1998-2017 Daniel A. Morgan All Rights Reserved