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

SQL Anywhere 11.0.0 » UltraLite - Database Management and Reference » UltraLite SQL Reference » UltraLite SQL function reference » Alphabetical list of functions


SECOND function [Date and time]

Returns a second of the given date.

SECOND( datetime-expression )
  • datetime-expression   The datetime value.


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

Standards and compatibility
  • SQL/2003   Vendor extension.


The following statement returns the value 25.

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