Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
Applies to: ✅Microsoft Fabric✅Azure Data Explorer✅Azure Monitor✅Microsoft Sentinel
Oblicza liczbę rekordów w zestawie rekordów wejściowych.
Syntax
T|count
Learn more about syntax conventions.
Parameters
| Name | Typ | Required | Description |
|---|---|---|---|
| T | string |
✔️ | Dane wejściowe tabelaryczne, których rekordy mają być zliczane. |
Returns
Ta funkcja zwraca tabelę z pojedynczym rekordem i kolumną typu long. The value of the only cell is the number of records in T.
Examples
The examples in this article use publicly available tables in the help cluster, such as the
StormEventstable in the Samples database.
The examples in this article use publicly available tables, such as the
Weathertable in the Weather analytics sample gallery. Może być konieczne zmodyfikowanie nazwy tabeli w przykładowym zapytaniu, aby było zgodne z tabelą w obszarze roboczym.
Gdy używasz operatora count z nazwą tabeli, na przykład StormEvents, zwróci całkowitą liczbę rekordów w tej tabeli.
StormEvents | count
Output
| Count |
|---|
| 59066 |
Related content
Aby uzyskać informacje o funkcji agregacji count(), zobacz count() (funkcja agregacji).