COUNT(*) and COUNT(1): Performance Battle - SQL in Sixty Seconds 176
Pinal Dave
0:00 / 0:00
COUNT(*) and COUNT(1): Performance Battle - SQL in Sixty Seconds 176
18 492 просмотра · 5 л. назад
Pinal Dave
34,6 тыс. подписчиков
18 492 просмотра · 5 л. назад
COUNT(*) and COUNT(1): Performance Battle
Let us learn which one is faster.
Must Watch: • COUNT(*) and Index - SQL in Sixty Seconds 175
Subscribe for Free Performance Tuning Scripts: https://go.sqlauthority.com/
Resources mentioned in this blog:
Health Check: https://blog.sqlauthority.com/compreh...
Script: https://blog.sqlauthority.com/2021/06...
Video: https://blog.sqlauthority.com/2020/08...
0:00 Intro
0:24 How Count Star Selects the Index?
0:41 Real World Scenario
1:06 Demo: COUNT(*) and COUNT(1): Performance Battle
2:26 Summary
#SQLServer #PerformanceTuning #SQLAuthority