By: Ramdas
Good post pinal, getting into behind the scenes working of views. Thanks for putting out the snippet from Itzik’s Book.
View ArticleBy: 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 ArticleBy: 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 ArticleBy: 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 ArticleBy: 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
More Pages to Explore .....