MSSQL集計関数COUNT_BIG
COUNT

COUNT_BIG集計関数

SUM

BIGINT型で行数を返します。

構文

COUNT_BIG(expr)

使用例

下記の値を入力するとサンプルに即時反映されます。

total_rows
large_log_table
SELECT COUNT_BIG(*) AS total_rows FROM large_log_table;