News

The solution is to use SQL views, materialized views, or create a new table that contains only the filtered data the user needs.
The key feature of a SQL view is that both SQL Server and Entity Framework have a great deal of difficulty in telling the difference between a view and a table. The major difference between views and ...
Why are there INFOMATION_SCHEMA and catalog views in SQL Server that do very similar things? For example, to retrieve a list of tables in a database, I can do it via sys.tables or INFORMATION ...
Twice in the past couple of months I’ve gotten tripped up by the same data issue when using LINQ to Entities in the .NET framework. I create a simple view in my database which performs some ...
I'm using MSSQL Server 2000. Is it possible to use SET statements in views. I need to use SET ARITHIGNORE ON & SET ARITHABORT OFF to allow a divide/0 to return null (which I can change to 0 using ...
A reader recently pointed out to me that I could drastically simplify that retrieval code by leveraging SQL views. A SQL view pulls together multiple tables (and selected columns from those tables) ...