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

JSON_QUERY() Function in Oracle

Posted on September 24, 2021 by Ian

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

How to Export Query Results to a CSV File in SQL Developer (Oracle)

Posted on September 23, 2021 by Ian

You can do this to export your query results to a CSV file when using SQL Developer to query Oracle Database.

Continue reading →
Database Tools, Oracle export, how to

Return the Short Month Name from a Date in Oracle

Posted on September 22, 2021 by Ian

In Oracle Database, we can use the TO_CHAR(datetime) function to return the various date parts from a datetime value, including the short month name.

The short month name is also referred to as the abbreviated month name. Examples of returning the short month name are below.

Continue reading →
Oracle date format, dates, how to

UID – Return the ID of the Current Session in Oracle

Posted on September 22, 2021 by Ian

In Oracle Database, the UID function returns an integer that uniquely identifies the session user (the user who logged on).

Continue reading →
Oracle functions, how to, system functions, what is

How to Export Query Results to a CSV File in SQLcl (Oracle)

Posted on September 21, 2021 by Ian

If you’re using SQLcl to run queries against Oracle Database, then you can use the SPOOL command to export your query results to a CSV file.

Continue reading →
Oracle export, how to, sqlcl

USER Function in Oracle

Posted on September 21, 2021 by Ian

In Oracle Database, the USER function returns the name of the session user (the user who logged on).

Continue reading →
Oracle functions, system functions, what is

SYS_GUID() Function in Oracle

Posted on September 20, 2021 by Ian

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

How to Return Fractional Seconds from a Datetime Value in Oracle

Posted on September 19, 2021 by Ian

When using Oracle Database, you can use the TO_CHAR(datetime) function to return various parts of a datetime value, including the fractional seconds.

To return the fractional seconds part from a datetime value, use the FF format element.

Continue reading →
Oracle date format, dates, how to

NULLIF() Function in Oracle

Posted on September 19, 2021 by Ian

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.

Continue reading →
Oracle comparison functions, functions, what is

NVL2() Function in Oracle

Posted on September 18, 2021September 18, 2021 by Ian

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.

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

About Database.Guide | Privacy Policy