Quantcast
Channel: Comments on: SQL SERVER – COUNT(*) Not Allowed but COUNT_BIG(*) Allowed – Limitation of the View 5
Browsing latest articles
Browse All 17 View Live

By: Ramdas

Good post pinal, getting into behind the scenes working of views. Thanks for putting out the snippet from Itzik’s Book.

View Article



By: sheeba

Hi PinalIF EXISTS (SELECT * FROM sys.objects WHERE OBJECT_ID = OBJECT_ID(N'[dbo].[mySampleTable]’) AND TYPE IN (N’U’))what is the purpose of using ” N’ “,?

View Article

By: Mark Kremers

It is easier to use if object_id(‘MySampleTable’) is not null begin drop table MySampleTable endin stead of doing an exists on sys.objects

View Article

By: nish

Hello Pinal bhai,I read this post, but is that really a limitation of view? In your earlier post, It is written that – “Index created on View not used often”Oras you used the word “OFTEN”, does it mean...

View Article

By: Troy Pope

The N’string’ tells SQL Server to treat the string as National char(2 byte Unicode) where the string ‘string’ would be treated as char (1 byte). This avoids an implicit cast to the correct type in...

View Article

Browsing latest articles
Browse All 17 View Live




Latest Images