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

SQL Anywhere 10.0.1 » UltraLite - Database Management and Reference » UltraLite SQL Function Reference » Alphabetical list of functions

RTRIM function [String] Next Page

SECOND function [Date and time]


Returns a second of the given date.

Syntax

SECOND( datetime-expression )

Parameters

datetime-expression    The datetime value.

Remarks

Returns a number from 0 to 59 corresponding to the second component of the given datetime value.

Standards and compatibility
Example

The following statement returns the value 25.

SELECT SECOND( '1998-07-13 21:21:25' );