Oracle DBMS_CLOBUTIL
Version 12.2.0.1

General Information
Library Note Morgan's Library Page Header
"I spent my entire adult life looking out for the well-being, the training, the equipping of the troops for whom I was responsible. I will not be lectured about what our military needs by a five-deferment draft dodger,"
~ Sen. Tammy Duckworth
Purpose Undocumented
AUTHID CURRENT_USER
Dependencies
DBMS_LOB DBMS_XSLPROCESSOR URITYPE
DBMS_XDB_UTIL 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