Igor Micev

Integration specialist, Developer & Programmer, Database administrator, and Architect with 15+ years of
expertise. Experienced in software development, database analysis & design, performance tuning, upgrades &
migrations, high availability solutions implementation, and design, backup and recovery strategies, and system
capacity planning.

SQLServerCentral Article

The COUNT Function in T-SQL

The COUNT function is among the most used functions in the T-SQL codes. Even though COUNT is easy to use, it should be used carefully because it could often not return the desired result. For the big tables, the counting of the rows could cause blocking as well as take some more time.

4.47 (47)

You rated this post out of 5. Change rating

2018-02-09 (first published: )

10,912 reads

Blogs

Index Maintenance Can Change NORECOMPUTE Settings

By

I had a customer recently ask about a change in one of their constraints...

So You Think You Should Get a Radio

By

This is not database related, so if you’re not interested in hearing about something...

Speaking at SQL Saturday Austin 2025

By

SQL Saturday Austin 2025 is in just a few days. I am honored to...

Read the latest Blogs

Forums

fetch an execution plan from SQL Server's buffer cache

By Akash Rathi

Comments posted to this topic are about the item fetch an execution plan from...

A way for the team to keep track of changes made

By JP789

Is there a best practice way for the team to keep track of changes...

SQL Query Performance with Left Join

By juniorDBA13

I have a query that is performing poorly It has a left join to...

Visit the forum

Question of the Day

The Long Running Backup

I have a long running backup of the Sales database during a maintenance window that is going to take another 2 hours to complete on SQL Server 2022. I also need to perform some proactive work and add another file (ndf) to the Sales database to handle the expected growth of the next month. Can I do both simultaneously?

See possible answers