Oracle OWM_ASSERT_PKG
Version 18.3.0.1

General Information
Library Note Morgan's Library Page Header
For how many years have you been working with physical servers that are starving your database of the memory necessary to deploy important new performance features such as the Result Cache, Memoptimize Pool, In-Memory Aggregation, In-Memory Column Store, and Full Database Caching? Too long? Contact me to learn how to improve all queries ... not just some queries.
Purpose Undocumented but the SYS.DBMS_ASSERT package, plus the functionality of the ASSERT_WS function give an indication that the intention may be related to preventing SQL Injection.
AUTHID DEFINER
Dependencies
DBMS_ASSERT LTUTIL OWM_MIG_PKG
DUAL LT_EXPORT_PKG OWM_MP_PKG
LT OWM_BULK_LOAD_PKG OWM_REPUTIL
LTADM OWM_CPKG_PKG OWM_VSCRIPT_PKG
LTDDL OWM_DDL_PKG UD_TRIGS
LTDTRG OWM_DYNSQL_ACCESS WM_DDL_UTIL
LTRIC OWM_IEXP_PKG  
Documented No
First Available 12.2.0.1
Security Model Owned by WMSYS with no privileges granted.
Source {ORACLE_HOME}/rdbms/admin/owmasrts.plb
Subprograms
 
ASSERT
Undocumented owm_assert_pkg.assert(
var         IN VARCHAR2,
flag        IN NUMBER,
verifyStack IN BOOLEAN)
RETURN VARCHAR2;
DECLARE
 b      BOOLEAN := TRUE;
 retval VARCHAR2(2000);
BEGIN
  retval := wmsys.owm_assert_pkg.assert('Test', -1, b);
  dbms_output.put_line(retval);
END;
/


-- syntactically valid and runs but returns no value
 
ASSERT_WS
Returns the var string enclosed in single quotes whether TRUE or FALSE owm_assert_pkg.assert_ws(
var         IN VARCHAR2,
verifyStack IN BOOLEAN)
RETURN VARCHAR2;
DECLARE
 b      BOOLEAN := FALSE;
 retval VARCHAR2(2000);
BEGIN
  retval := wmsys.owm_assert_pkg.assert_ws('Test This', b);
  dbms_output.put_line(retval);
END;
/
 
ASSERT_WS_NEQ
Appears to return the test string unchanged whether TRUE or FALSE owm_assert_pkg.assert_ws_neq(
var         IN VARCHAR2,
verifyStack IN BOOLEAN)
RETURN VARCHAR2;
DECLARE
 b      BOOLEAN := FALSE;
 retval VARCHAR2(2000);
BEGIN
  retval := wmsys.owm_assert_pkg.assert_ws_neq('Test This', b);
  dbms_output.put_line(retval);
END;
/
 
NOOP
Undocumented

Overload 1

Appears to return the test string unchanged whether TRUE or FALSE
owm_assert_pkg.noop(
var         IN VARCHAR2,
verifyStack IN BOOLEAN)
RETURN VARCHAR2;
DECLARE
 b      BOOLEAN := FALSE;
 retval VARCHAR2(2000);
BEGIN
  retval := wmsys.owm_assert_pkg.noop('Test This', b);
  dbms_output.put_line(retval);
END;
/
Overload 2

Appears to return the test string unchanged whether TRUE or FALSE
owm_assert_pkg.noop(
var         IN CLOB,
verifyStack IN BOOLEAN)
RETURN CLOB;
DECLARE
 b      BOOLEAN := TRUE;
 retval CLOB;
BEGIN
  retval := wmsys.owm_assert_pkg.noop('Test This', b);
  dbms_output.put_line(retval);
END;
/
 
VERIFYCALLSTACK
Undocumented owm_assert_pkg.verifycallstack;
exec wmsys.owm_assert_pkg.verifycallstack;

/tr>
Related Topics
Built-in Functions
Built-in Packages
DBMS_ASSERT
DBMS_WM
LTAQ
LTDTRG
OWM_CPKG_PKG
OWM_DDL
OWM_IEXP_PKG
What's New In 18cR3
What's New In 19cR3

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-2019 Daniel A. Morgan All Rights Reserved