Schlagwort: T-SQL

Doing a “SELECT COUNT(*) FROM [TableName]” can be a long running task.Thanks to William Durkin for his example on Twitter to count the rows of a table using the system table “sys.partitions”. To use it in my daily busines, I have wrapped this up in an T-SQL inline function, like this one: This will return […]

Weiterlesen