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

3 Ways to Convert a Date to a String in MongoDB

Posted on June 5, 2021 by Ian

MongoDB has a Date BSON type that allows you to store dates as dates.

You can also store dates as strings, if that’s what you need.

Taking it a step further, you can also convert a Date to a string.

This article presents three ways to convert a Date to a string in MongoDB.

Continue reading →
MongoDB convert, date format, dates, how to, string

How FLOOR() Works in MariaDB

Posted on June 5, 2021June 13, 2021 by Ian

In MariaDB, FLOOR() is a built-in numeric function that returns the largest integer value not greater than its argument.

Continue reading →
MariaDB functions, numeric functions, what is

MariaDB CEIL() Explained

Posted on June 5, 2021 by Ian

In MariaDB, CEIL() is a built-in numeric function that returns the smallest integer value not less than its argument.

CEIL() is a synonym for CEILING().

Continue reading →
MariaDB functions, numeric functions, what is

How CEILING() Works in MariaDB

Posted on June 4, 2021June 4, 2021 by Ian

In MariaDB, CEILING() is a built-in numeric function that returns the smallest integer value not less than its argument.

Continue reading →
MariaDB functions, numeric functions, what is

How ATAN2() Works in MariaDB

Posted on June 4, 2021June 4, 2021 by Ian

In MariaDB, ATAN2() is a built-in numeric function that returns the arctangent (inverse tangent) of its two arguments.

Continue reading →
MariaDB functions, numeric functions, what is

How ATAN() Works in MariaDB

Posted on June 4, 2021June 4, 2021 by Ian

In MariaDB, ATAN() is a built-in numeric function that returns the arctangent (inverse tangent) of its argument.

In other words, it returns the value whose tangent is the argument.

Continue reading →
MariaDB functions, numeric functions, what is

Convert a Month Name to the Month Number in SQL Server (T-SQL)

Posted on June 3, 2021 by Ian

In SQL Server, you can use the MONTH() function to convert a month name to its corresponding number.

Continue reading →
SQL Server date format, dates, how to, mssql, t-sql

How UTC_TIMESTAMP() Works in MariaDB

Posted on June 3, 2021 by Ian

In MariaDB, UTC_TIMESTAMP() is a built-in date and time function that returns the current UTC date and time.

The result is returned in ‘YYYY-MM-DD HH:MM:SS’ or YYYYMMDDHHMMSS.uuuuuu format, depending on whether the function is used in a string or numeric context.

UTC stands for Coordinated Universal Time, and is the world standard for regulating time.

Continue reading →
MariaDB date functions, functions, what is

How UTC_TIME() Works in MariaDB

Posted on June 3, 2021 by Ian

In MariaDB, UTC_TIME() is a built-in date and time function that returns the current UTC time.

The result is returned in ‘HH:MM:SS’ or HHMMSS.uuuuuu format, depending on whether the function is used in a string or numeric context.

UTC stands for Coordinated Universal Time, and is the world standard for regulating time.

Continue reading →
MariaDB date functions, functions, what is

How UTC_DATE() Works in MariaDB

Posted on June 2, 2021 by Ian

In MariaDB, UTC_DATE() is a built-in date and time function that returns the current UTC date.

The result is returned in ‘YYYY-MM-DD’ or YYYYMMDD format, depending on whether the function is used in a string or numeric context.

UTC stands for Coordinated Universal Time, and is the world standard for regulating time.

Continue reading →
MariaDB date functions, functions, what is
  • «
  • 1
  • …
  • 209
  • 210
  • 211
  • 212
  • 213
  • …
  • 388
  • »

About Database.Guide | Privacy Policy