COUNT(*) Not Allowed but COUNT_BIG(*) Allowed in VIEW

added by pinaldave
9/23/2010 6:26:04 AM

2 Kicks, 190 Views

One of the most prominent limitations of the View it is that it does not support COUNT(*); however, it can support COUNT_BIG(*) operator. In the following case, you see that if View has COUNT (*) in it already, it cannot have a clustered index on it. On the other hand, a similar index would be created if we change the COUNT (*) to COUNT_BIG (*).For an easier understanding of this topic, let us see the example here.


0 comments