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 (149)
  • 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: DBMS

Database Management Systems

How UUID_SHORT() Works in MariaDB

Posted on June 16, 2021June 16, 2021 by Ian

In MariaDB, UUID_SHORT() is a built-in function that returns a short Universal Unique Identifier (UUID).

It returns a 64-bit unsigned integer (as opposed to the string-form 128-bit identifier as returned by the UUID() function).

Continue reading →
MariaDB functions, what is

How UUID() Works in MariaDB

Posted on June 16, 2021June 16, 2021 by Ian

In MariaDB, UUID() is a built-in function that returns a Universal Unique Identifier (UUID).

The UUID is generated according to “DCE 1.1: Remote Procedure Call” (Appendix A) CAE (Common Applications Environment) Specifications published by The Open Group in October 1997 (Document Number C706).

Continue reading →
MariaDB functions, what is

How ADD_MONTHS() Works in MariaDB

Posted on June 15, 2021August 5, 2021 by Ian

In MariaDB, ADD_MONTHS() is a built-in date and time function that adds a given number of months to a date, and returns the result.

The date can be a date, datetime, or timestamp value.

This function was introduced in MariaDB 10.6.1 to enhance Oracle compatibility. There are at least 6 other ways to add months to a date in MariaDB.

Continue reading →
MariaDB date functions, functions, what is

How PI() Works in MariaDB

Posted on June 15, 2021 by Ian

In MariaDB, PI() is a built-in function that returns the value of the number Ï€ (pi).

The number Ï€ is a mathematical constant. It is defined as the ratio of a circle’s circumference to its diameter, and it also has various equivalent definitions. It is approximately equal to 3.141593, although its decimal representation never ends.

Continue reading →
MariaDB functions, numeric functions, what is

How CRC32 Works in MariaDB

Posted on June 15, 2021 by Ian

In MariaDB, CRC32() is a built-in numeric function that computes a cyclic redundancy check value and returns a 32-bit unsigned value.

CRC32 is a popular checksum algorithm used to detect data corruption.

Continue reading →
MariaDB functions, numeric functions, what is

2 Ways to Get a Document’s Size in MongoDB

Posted on June 14, 2021 by Ian

If you need to return the size of a document in MongoDB, you can use the following:

  • The $bsonSize aggregation pipeline operator
  • The Object.bsonSize() method

Below are examples of each approach.

Continue reading →
MongoDB aggregation, how to, methods, operators

How LOG10() Works in MariaDB

Posted on June 14, 2021 by Ian

In MariaDB, LOG10() is a built-in function that returns the base-10 logarithm of its argument.

Continue reading →
MariaDB functions, numeric functions, what is

How LOG2() Works in MariaDB

Posted on June 14, 2021 by Ian

In MariaDB, LOG2() is a built-in function that returns the base-2 logarithm of its argument.

Continue reading →
MariaDB functions, numeric functions, what is

How TRUNCATE() Works in MariaDB

Posted on June 13, 2021 by Ian

In MariaDB, TRUNCATE() is a built-in numeric function that returns a given number, truncated to a given number of decimal places.

Continue reading →
MariaDB functions, numeric functions, what is

How DIV Works in MariaDB

Posted on June 13, 2021 by Ian

In MariaDB, DIV performs integer division.

It discards from the division result any fractional part to the right of the decimal point.

Continue reading →
MariaDB operators, what is
  • «
  • 1
  • …
  • 196
  • 197
  • 198
  • 199
  • 200
  • …
  • 369
  • »

About Database.Guide | Privacy Policy