MariaDB CONNECTION_ID() Explained

In MariaDB, every thread (including each event) has an ID that is unique among the set of currently connected clients. The CONNECTION_ID() function is a built-in function that returns the connection ID (thread ID) for the connection.

Read more

MariaDB BENCHMARK() Explained

In MariaDB, BENCHMARK() is a built-in function that executes an expression a specified number of times.

It can be used to time how quickly MariaDB processes the expression.

The result is always 0. The function is intended to be used within the mysql command line tool, which reports query execution times.

Read more

Get the Language Currently Being Used in SQL Server

There are several ways to get the language currently being used in SQL Server.

The language of the current session will often be the default language for the login, but this is not necessarily always the case. A user can change the current language during the session.

Also, some of SQL Server’s built-in functions accept an argument that allows you to specify a language for that specific query.

This article shows you how to return the language currently being used.

Read more