Previous |
Next |
This function returns TRUE
if both values are equal and FALSE
if not. If both values are NULL
, TRUE
is returned.
Syntax
APEX_PLUGIN_UTIL.IS_EQUAL ( p_value1 IN VARCHAR2 p_value2 IN VARCHAR2) RETURN BOOLEAN;
Parameters
Table: IS_EQUAL Parameters describes the parameters available in the IS_EQUAL
function.
IS_EQUAL Parameters
Parameter | Description |
---|---|
|
First value to compare. |
|
Second value to compare. |
Return
Table: IS_EQUAL Return describes the return value by the function IS_EQUAL.
IS_EQUAL Return
Return | Description |
---|---|
|
Returns |
Example
In the following example, if the value in the database is different from what is entered, the code in the if statement is executed.
if NOT apex_plugin_util.is_equal(l_database_value, l_current_value) then -- value has changed, do something null; end if;