Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 10.0.1 » SQL Anywhere Server - SQL Reference » SQL Functions » Alphabetical list of functions

MONTH function [Date and time] Next Page

MONTHNAME function [Date and time]

Returns the name of the month from a date.


MONTHNAME( date-expression )


date-expression    The datetime value.


The MONTHNAME function returns a string, even if the result is numeric, such as 2 for the month of February.

Standards and compatibility

The following statement returns the value September.

SELECT MONTHNAME( '1998-09-05' );