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.

Syntax

MONTHNAME( date-expression )

Parameters

date-expression    The datetime value.

Remarks

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

Standards and compatibility
Example

The following statement returns the value September.

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