Note
Kailangan ng pahintulot para ma-access ang page na ito. Maaari mong subukang mag-sign in o magpalit ng mga direktoryo.
Ang pag-access sa pahinang ito ay nangangailangan ng pahintulot. Maaari mong subukang baguhin ang mga direktoryo.
Applies to:
Databricks SQL
Databricks Runtime 18.3 and above
Returns the number of microseconds since midnight for a TIME value.
Syntax
time_to_micros(expr)
Arguments
expr: A TIME expression.
Returns
A BIGINT.
Examples
> SELECT time_to_micros(TIME'14:30:00.5');
52200500000
> SELECT time_to_micros(TIME'00:00:00');
0