Database.Guide

Skip to content

Beginners

  • What is a Database?
  • Database Tutorial

SQL

  • SQL Tutorial
  • SQL Reference
  • SQL Joins Tutorial
  • SQL Transactions Tutorial
  • Basic SQL Queries

Categories

  • Azure SQL Edge (17)
  • Database Concepts (99)
  • Database Tools (72)
  • DBMS (9)
  • DuckDB (161)
  • MariaDB (424)
  • Microsoft Access (17)
  • MongoDB (265)
  • MySQL (602)
  • NoSQL (8)
  • Oracle (301)
  • PostgreSQL (480)
  • Redis (210)
  • SQL (697)
  • SQL Server (1,170)
  • SQLite (299)

Category: Oracle

How to Convert Decimal to Hexadecimal using TO_CHAR() in Oracle

Posted on October 2, 2021 by Ian

In Oracle Database, you can use the TO_CHAR() function to convert a number to its hexadecimal equivalent. To do this, use the X format element.

Continue reading →
Oracle how to, number format

Capitalization of Day and Month Names When Formatting Dates in Oracle

Posted on October 1, 2021 by Ian

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 reading →
Oracle date format, dates, how to

JSON_OBJECTAGG() Function in Oracle

Posted on September 30, 2021 by Ian

In 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 reading →
Oracle functions, json, what is

SQLcl Formatting Options (Oracle)

Posted on September 29, 2021 by Ian

When 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 reading →
Database Tools, Oracle how to, sqlcl

JSON_OBJECT() Function in Oracle

Posted on September 29, 2021 by Ian

In Oracle Database, the JSON_OBJECT() function creates a JSON object from a sequence of key-value pairs or one object type instance.

Continue reading →
Oracle functions, json, what is

Export Oracle Query Results to an HTML File when using SQLcl

Posted on September 28, 2021September 28, 2021 by Ian

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.

Continue reading →
Oracle export, how to, sqlcl

JSON_ARRAYAGG() Function in Oracle

Posted on September 28, 2021April 28, 2024 by Ian

In Oracle Database, the JSON_ARRAYAGG() function creates a JSON array from a column of SQL expressions.

Continue reading →
Oracle arrays, functions, json, what is

JSON_ARRAY() Function in Oracle

Posted on September 27, 2021April 28, 2024 by Ian

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.

Continue reading →
Oracle arrays, functions, json, what is

JSON_TABLE() Function in Oracle

Posted on September 26, 2021 by Ian

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.

Continue reading →
Oracle functions, json, what is

JSON_VALUE() Function in Oracle

Posted on September 25, 2021 by Ian

In Oracle Database, the JSON_VALUE() function finds a specified scalar JSON value in JSON data and returns it as a SQL value. 

Continue reading →
Oracle functions, json, what is
  • «
  • 1
  • …
  • 11
  • 12
  • 13
  • 14
  • 15
  • …
  • 31
  • »

About Database.Guide | Privacy Policy