Note
ამ გვერდზე წვდომა ავტორიზაციას მოითხოვს. შეგიძლიათ სცადოთ შესვლა ან დირექტორიების შეცვლა.
ამ გვერდზე წვდომა ავტორიზაციას მოითხოვს. შეგიძლიათ სცადოთ დირექტორიების შეცვლა.
Applies to:
Databricks SQL
Databricks Runtime 18 and above
Note
Databricks Runtime 18 is newer than Databricks Runtime 18.0, 18.1, and 18.2. Features that would previously have shipped as a later numbered version now ship as dated updates to Databricks Runtime 18 instead. For details, see About unified release notes.
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