Chapter 4: SQL Language Elements
4.9.2.72 SECOND function (ODBC compatible)
Syntax
SECOND ( time_expression )
Description
The scalar function SECOND returns the seconds in the argument as a short integer value in the range of 0 - 59.
Example
SELECT *
FROM arrivals
WHERE SECOND (in_time) <= 40 ;
Notes
- The argument to the function must be of type TIME.
- The argument must be specified in the format HH:MI:SS.
- The result is of type SHORT.
- If the argument expression evaluates to null, the result is null.