In Oracle Database, the JSON_TABLE()
function creates a relational view of JSON data. It allows you to present the values in a JSON document in table format – as rows and columns.
Tag: what is
JSON_VALUE() Function in Oracle
In Oracle Database, the JSON_VALUE()
function finds a specified scalar JSON value in JSON data and returns it as a SQL value.Â
JSON_QUERY() Function in Oracle
In Oracle Database, the JSON_QUERY()
function selects and returns one or more values from JSON data and returns those values.Â
You can use the function to retrieve fragments of a JSON document.
Continue readingUID – Return the ID of the Current Session in Oracle
In Oracle Database, the UID
function returns an integer that uniquely identifies the session user (the user who logged on).
USER Function in Oracle
In Oracle Database, the USER
function returns the name of the session user (the user who logged on).
SYS_GUID() Function in Oracle
In Oracle Database, the SYS_GUID()
function generates and returns a globally unique identifier (RAW
value) made up of 16 bytes.
On most platforms, the generated identifier consists of a host identifier, a process or thread identifier of the process or thread invoking the function, and a nonrepeating value (sequence of bytes) for that process or thread.
Continue readingNULLIF() Function in Oracle
In Oracle Database, the NULLIF()
function compares two expressions, and returns null
if both expressions are equal. If they are not equal, then the function returns the first expression.
NVL2() Function in Oracle
In Oracle Database, the NVL2()
function allows us to replace null values with another value.
It’s similar to the NVL()
function, except that it accepts three arguments instead of two. This allows us to specify a different value to return in the event the first argument is not null.
NVL() Function in Oracle
In Oracle Database, the NVL()
function allows us to replace null values with another value.
MariaDB Composite Date & Time Units Explained
MariaDB includes a bunch of date and time units that you can use when working with date and time values. For example, MONTH
is a unit, and HOUR
is another unit.
Some units are composite units. Composite units are when two units get combined into one. The naming convention is that each unit name is separated by an underscore. For example, MINUTE_SECOND
is for minutes and seconds.
Below are some examples that demonstrate how composite units work in MariaDB.
Continue reading