Knight Data Access Layer
CountRecordsInTable Method (SqlServerProvider)




View with Navigation Tools
KellermanSoftware.NetDataAccessLayer.Providers Namespace > SqlServerProvider Class : CountRecordsInTable Method
The name of the table
Get the number of records in a table
Syntax
Public Overrides Function CountRecordsInTable( _
   ByVal tableName As String _
) As Long

Parameters

tableName
The name of the table
Remarks
See: https://blogs.msdn.microsoft.com/martijnh/2010/07/15/sql-serverhow-to-quickly-retrieve-accurate-row-count-for-table/
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

SqlServerProvider Class
SqlServerProvider Members