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 (125)
  • 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)

Tag: system functions

How CURRENT_ROLE() Works in MySQL

Posted on March 23, 2023March 23, 2023 by Ian

In MySQL, CURRENT_ROLE() is a built-in function that returns the current active roles for the current session, separated by commas, or NONE if there are none. The current role determines our access privileges.

Continue reading →
MySQL functions, system functions, what is

MySQL COERCIBILITY() Explained

Posted on March 21, 2023March 21, 2023 by Ian

In MySQL, the COERCIBILITY() returns the collation coercibility value of its string argument.

The COERCIBILITY() function defines how collations will be converted in the case of collation conflict. In such conflicts, an expression with a higher coercibility is converted to the collation of an expression with a lower coercibility.

Continue reading →
MySQL functions, system functions, what is

How CONNECTION_ID() Works in MySQL

Posted on March 18, 2023March 18, 2023 by Ian

The MySQL CONNECTION_ID() function returns the connection ID (thread ID) for the connection.

In MySQL, every connection has an ID that is unique among the set of currently connected clients. We can use the CONNECTION_ID() function to return that ID.

Continue reading →
MySQL functions, system functions, what is

MySQL VERSION() Explained

Posted on February 7, 2023February 7, 2023 by Ian

In MySQL, VERSION() is a built-in function that returns the MySQL server version.

The result is a string that uses the utf8mb3 character set. A suffix may also be appended to the version number indicating server build or configuration information.

Continue reading →
MySQL functions, system functions, what is

MySQL SESSION_USER() Explained

Posted on February 5, 2023February 5, 2023 by Ian

In MySQL, SESSION_USER() is a synonym for the USER() function. It returns the current MySQL user name and host name, given when connecting to MySQL.

Continue reading →
MySQL functions, system functions, what is

MySQL SYSTEM_USER() Explained

Posted on February 5, 2023February 5, 2023 by Ian

In MySQL, SYSTEM_USER() is a synonym for the USER() function. It returns the current MySQL user name and host name, given when connecting to MySQL.

Continue reading →
MySQL functions, system functions, what is

MySQL CURRENT_USER() Explained

Posted on February 4, 2023February 4, 2023 by Ian

In MySQL, CURRENT_USER() is a built-in function that returns the user name and host name combination for the MySQL account that the server used to authenticate the current client.

Continue reading →
MySQL functions, system functions, what is

MySQL USER() Explained

Posted on February 4, 2023February 4, 2023 by Ian

In MySQL, USER() is a built-in function that returns the current MySQL user name and host name, given when connecting to MySQL.

The result is returned as a string in the utf8mb3 character set.

The value returned by USER() could be different to the value returned by CURRENT_USER().

Continue reading →
MySQL functions, system functions, what is

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

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
  • «
  • 1
  • 2
  • 3
  • 4
  • »

About Database.Guide | Privacy Policy