Skip to content

Database.Guide

dates

4 Functions that Return the Seconds Part from a Time Value in MariaDB

June 28, 2021 by Ian

Below are 4 functions that enable you to return the seconds part from a time value in MariaDB.

Read more

Categories MariaDB Tags dates, how to, time format

8 Ways to Add Minutes to a Datetime in MariaDB

June 26, 2021 by Ian

MariaDB provides many ways to perform date arithmetic. This includes adding or subtracting a certain number of a given date part from a date or datetime value.

In this article, I present 8 ways to add one or more minutes to a datetime value in MariaDB.

Read more

Categories MariaDB Tags dates, how to

4 Functions to Return the Year from a Date in MariaDB

June 24, 2021 by Ian

Below are 4 functions that enable you to return the year from a date in MariaDB. Three functions return just the year, and one returns both the year and week.

Read more

Categories MariaDB Tags date format, dates, how to

How to Run SHOW LOCALES in MariaDB

June 23, 2021 by Ian

If you’re trying to run SHOW LOCALES but it’s not working, it’s probably because the LOCALES plugin hasn’t been installed yet. Installing that plugin should hopefully fix the problem.

Read more

Categories MariaDB Tags dates, errors, how to

Get the Day of the Year from a Date in SQL Server (T-SQL)

June 21, 2021 by Ian

TSQL provides the DATEPART() function, which enables us to return the day of the year for a given date in SQL Server.

By “day of the year”, I mean the day number of the given year.

Read more

Categories SQL Server Tags dates, how to, mssql, t-sql

4 Functions that Extract Microseconds from a Time Value in MariaDB

June 20, 2021 by Ian

Below are 4 functions that enable you to return the microseconds part from a time value in MariaDB.

Read more

Categories MariaDB Tags dates, how to, time format

3 Ways to Get the Day Name from a Date in MariaDB

June 19, 2021 by Ian

Below are three approaches you can use to get the day name from a date in MariaDB.

Two of these approaches return the full day name, and one returns the short day name.

Read more

Categories MariaDB Tags date format, dates, how to

Fix: “Unknown table ‘locales’ in information_schema” in MariaDB

June 19, 2021 by Ian

If you get the Unknown table 'locales' in information_schema error in MariaDB, it’s probably because you haven’t installed the LOCALES plugin yet.

You need to install the LOCALES plugin before you try to query this table.

Read more

Categories MariaDB Tags dates, errors, how to

11 Functions to Get the Day, Month, and Year from a Date in MariaDB

June 18, 2021 by Ian

MariaDB includes many functions for working with dates. Some of these extract certain parts from such dates and return them as a string or integer.

Below are 11 functions that you can use to return various date parts in MariaDB.

Read more

Categories MariaDB Tags date format, dates, how to

8 Ways to Add Microseconds to a Datetime Value in MariaDB

June 12, 2021 by Ian

If you need to add one or more microseconds to a datetime value in MariaDB, here are 8 options to consider.

Read more

Categories MariaDB Tags dates, how to
Older posts
Newer posts
← Previous Page1 … Page25 Page26 Page27 … Page52 Next →

About | Privacy Policy

© 2026 Database.Guide • All rights reserved