Collections:
MONTHNAME() - Name of Month
How to obtain the name of month of a given date using the MONTHNAME() function?
✍: FYIcenter.com
MONTHNAME(date) is a MySQL built-in function that
returns the name of month from a given date.
For example:
SELECT MONTHNAME('2023-02-03'), MONTHNAME(NOW());
-- +-------------------------+------------------+
-- | MONTHNAME('2023-02-03') | MONTHNAME(NOW()) |
-- +-------------------------+------------------+
-- | February | November |
-- +-------------------------+------------------+
Reference information of the MONTHNAME() function:
MONTHNAME(date): str Returns the full name of the month for date. The language used for the name is controlled by the value of the lc_time_names system variable. Arguments, return value and availability: date: Required. The date to extract the name of month from. str: Return value. The name of month. Available since MySQL 4.
⇒ NOW() - Start Time of Execution
2023-11-17, 1105🔥, 0💬
Popular Posts:
How to set database to be READ_ONLY in SQL Server? Databases in SQL Server have two update options: ...
Can You Drop an Index Associated with a Unique or Primary Key Constraint in Oracle? You can not dele...
What Happens to Your Transactions When ERROR 1205 Occurred in MySQL? If your transaction receives th...
What is sqlservr.exe - Process - SQL Server (SQLEX?PRESS) in SQL Server? Process sqlservr.exe is the...
How to download and install Microsoft .NET Framework Version 2.0 in SQL Server? .NET Framework Versi...