Count_Big() function

Learned new function for count while going through the channel 9 video for salva. where for a very big table count it gave an error :

 

Count_Big() – BOL:

Returns the number of items in a group. COUNT_BIG works like the COUNT function. The only difference between the two functions is their return values. COUNT_BIG always returns a bigintdata type value. COUNT always returns an int data type value

https://docs.microsoft.com/en-us/sql/t-sql/functions/count-big-transact-sql

 

 

Advertisements
This entry was posted in BIGDATA, General, Others, What I learned today and tagged , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.