Communities for your favorite technologies. Explore all Collectives
Stack Overflow for Teams is now called Stack Internal. Bring the best of human thought and AI automation together at your work.
Bring the best of human thought and AI automation together at your work. Learn more
Find centralized, trusted content and collaborate around the technologies you use most.
Stack Internal
Knowledge at work
Bring the best of human thought and AI automation together at your work.
Can Any One Tell me how range if Count(*) in SQL Server i.e How much rows it count Return. when to use big_count() in SQL Server
Count(*)
SQL
big_count()
SQL Server
Thank u Dinesh
COUNT returns an INTEGER so max value is: 2,147,483,647 COUNT_BIG returns a BIGINT so max value is: 9,223,372,036,854,775,807
COUNT
COUNT_BIG
INT/BIGINT datatype reference
Add a comment
Required, but never shown
By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.
Start asking to get answers
Find the answer to your question by asking.
Explore related questions
See similar questions with these tags.