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? Software Defined Servers can improve performance and security while lowering complexity and cost. With Software Defined Servers you define servers with an optimum configuration to your environment rather than being memory starved and cpu over-provisioned. Find out how you can improve your computing environment with TidalScale. your friends.
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;

Related Topics
Built-in Functions
Built-in Packages
DBMS_ASSERT
What's New In 12cR2
What's New In 18cR3

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