SqlServerAppenders..::..AsCountDistinctApproximate Method (TableDbCommandBuilder<(Of <(<'SqlCommand, SqlParameter, SqlServerLimitOption>)>)>, String)
Return the approximate distinct count using the APPROX_COUNT_DISTINCT function.
Namespace:
Tortuga.Chain.SqlServerAssembly: Tortuga.Chain.SqlServer.MDS (in Tortuga.Chain.SqlServer.MDS.dll)
Syntax
public static ILink<long> AsCountDistinctApproximate( this TableDbCommandBuilder<SqlCommand, SqlParameter, SqlServerLimitOption> tableDbCommand, string columnName )
<ExtensionAttribute> _ Public Shared Function AsCountDistinctApproximate ( _ tableDbCommand As TableDbCommandBuilder(Of SqlCommand, SqlParameter, SqlServerLimitOption), _ columnName As String _ ) As ILink(Of Long)
[ExtensionAttribute] public: static ILink<long long^>^ AsCountDistinctApproximate( TableDbCommandBuilder<SqlCommand^, SqlParameter^, SqlServerLimitOption^>^ tableDbCommand, String^ columnName )
Parameters
- tableDbCommand
- Type: Tortuga.Chain.CommandBuilders..::..TableDbCommandBuilder<(Of <(<'SqlCommand, SqlParameter, SqlServerLimitOption>)>)>
The table database command.
- columnName
- Type: String
Name of the column.