When getting the day and/or month name from a date in Oracle, you may want to return it in uppercase, lowercase, or title case.
Fortunately, this is easy to do. The result reflects the capitalisation of your format model.
Continue readingDatabase Management Systems
When getting the day and/or month name from a date in Oracle, you may want to return it in uppercase, lowercase, or title case.
Fortunately, this is easy to do. The result reflects the capitalisation of your format model.
Continue readingIn Oracle Database, the JSON_OBJECTAGG()
function creates a JSON object from a key-value pair.
Typically, the property key, the property value, or both are columns of SQL expressions.
Continue readingWhen using SQLcl to query Oracle Database, you can use the SET SQLFORMAT
command to determine the format of the results.
You can also use inline comments to specify the format from directly within your query.
Continue readingIn Oracle Database, the JSON_OBJECT()
function creates a JSON object from a sequence of key-value pairs or one object type instance.
When using SQLcl with Oracle Database, you can use the SPOOL
command to export your query results to a file with an .html
extension, and you can set SQLFORMAT
to html
in order to output the actual query results in HTML format.
In Oracle Database, the JSON_ARRAYAGG()
function creates a JSON array from a column of SQL expressions.
In Oracle Database, the JSON_ARRAY()
function creates a JSON array from a sequence of SQL scalar expressions or one collection type instance, VARRAY
or NESTED TABLE
.
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.
In Oracle Database, the JSON_VALUE()
function finds a specified scalar JSON value in JSON data and returns it as a SQL value.
If you need to replace a substring with another string in MariaDB, here are two approaches that you can use.
Continue reading