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 (138)
  • MariaDB (424)
  • Microsoft Access (17)
  • MongoDB (265)
  • MySQL (602)
  • NoSQL (8)
  • Oracle (301)
  • PostgreSQL (480)
  • Redis (210)
  • SQL (697)
  • SQL Server (1,169)
  • SQLite (298)

COLLATION() Function in Oracle

Posted on August 16, 2021 by Ian

In Oracle Database, the COLLATION() function returns the name of the derived collation for its argument.

Continue reading →
Oracle functions, what is

NLS_CHARSET_NAME() Function in Oracle

Posted on August 16, 2021 by Ian

In Oracle Database, the NLS_CHARSET_NAME() function returns the character set name of a given character set, based on its ID. You pass the character set ID as an argument, and the function returns its name.

Continue reading →
Oracle functions, what is

NLS_COLLATION_NAME() Function in Oracle

Posted on August 15, 2021 by Ian

In Oracle Database, the NLS_COLLATION_NAME() function returns the name of a given collation, based on its ID. You pass the collation ID when calling the function, and it returns the collation name.

Continue reading →
Oracle functions, what is

NLS_COLLATION_ID() Function in Oracle

Posted on August 15, 2021 by Ian

In Oracle Database, the NLS_COLLATION_ID() function returns the ID of a given collation. You pass the collation name when calling the function, and it returns the collation ID.

Continue reading →
Oracle functions, what is

NLS_CHARSET_DECL_LEN() Function in Oracle

Posted on August 14, 2021 by Ian

In Oracle, the NLS_CHARSET_DECL_LEN() function returns the declaration length (in number of characters) of an NCHAR column.

Continue reading →
Oracle functions, what is

NLS_CHARSET_ID() Function in Oracle

Posted on August 14, 2021 by Ian

In Oracle, the NLS_CHARSET_ID() function returns the character set ID number of a given character set. You pass the character set name as an argument, and it returns its ID.

Continue reading →
Oracle functions, what is

MariaDB JSON_VALUE() vs JSON_QUERY(): What’s the Difference?

Posted on August 13, 2021 by Ian

In MariaDB, the JSON_VALUE() function and JSON_QUERY() function do similar things – they return data from a JSON document.

So what’s the difference?

The main difference is that JSON_VALUE() returns scalar values, whereas JSON_QUERY() returns arrays and objects.

Continue reading →
MariaDB functions, json, what is

FROM_TZ() Function in Oracle

Posted on August 13, 2021 by Ian

In Oracle Database, the FROM_TZ() function converts a timestamp value and a time zone to a TIMESTAMP WITH TIME ZONE value.

You pass the timestamp value and the time zone as two separate arguments, and the function returns them as a TIMESTAMP WITH TIME ZONE value.

Continue reading →
Oracle date functions, functions, what is

How to Return a List of Valid Time Zones in Oracle Database

Posted on August 12, 2021 by Ian

Sometimes we need to specify a time zone when using datetime functions in Oracle.

But there are a lot of time zones out there. How do we remember them all? And how do we know our system supports a given time zone?

Fortunately, we can query the V$TIMEZONE_NAMES view to return a list of valid time zones.

Continue reading →
Oracle how to, reference

SESSIONTIMEZONE Function in Oracle

Posted on August 12, 2021August 12, 2021 by Ian

In Oracle Database, the SESSIONTIMEZONE function returns the time zone of the current session.

Continue reading →
Oracle date functions, functions, what is
  • «
  • 1
  • …
  • 188
  • 189
  • 190
  • 191
  • 192
  • …
  • 389
  • »

About Database.Guide | Privacy Policy