Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
Applies to:
Databricks SQL
Databricks Runtime
Returns the second component of the timestamp in expr.
Syntax
second(expr)
Arguments
expr: ATIMESTAMPexpression.
Returns
An INTEGER.
This function is equivalent to int(extract(SECOND FROM timestamp)).
Examples
> SELECT second('2009-07-30 12:58:59');
59