नोट
इस पेज तक पहुँच के लिए प्रमाणन की आवश्यकता होती है. आप साइन इन करने या निर्देशिकाओं को बदलने का प्रयास कर सकते हैं.
इस पेज तक पहुँच के लिए प्रमाणन की आवश्यकता होती है. आप निर्देशिकाओं को बदलने का प्रयास कर सकते हैं.
Applies to:
Databricks SQL
Databricks Runtime
Returns monotonically increasing 64-bit integers.
Syntax
monotonically_increasing_id()
Arguments
This function takes no arguments.
Returns
A BIGINT.
The generated ID is guaranteed to be monotonically increasing and unique, but not consecutive. The function is non-deterministic, so it may return different values if called multiple times for the same row.
Examples
> SELECT monotonically_increasing_id();
0