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

SQL Anywhere 11.0.0 » SQL Anywhere Server - SQL Reference » Using SQL » SQL functions » Alphabetical list of functions


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
  • SQL/2003   Vendor extension.


The following statement returns the value September.

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