View vs. Table Valued Function vs. Multi-Statement Table Valued Function
About five years ago, I was checking an app before it went to production. I hadn’t seen the app before then and a junior dba had worked with the developers designing and building the app. It didn’t use...
View ArticleUnpacking the View
A view is simply a query that behaves something like a table. Most people know this. Most people also know that a view is simply a mask on top of what might be a very complex query. It all seems really...
View ArticleViews and Simplification
I’ve been getting lots of questions on views lately. Must be something in the water. Because SQL Server allows you to treat a view as if it was a table, lots of people pretty much assume that it is a...
View ArticleA View Is Not A Table
Blog post #4 in support of Tim Ford’s (b|t) #iwanttohelp, #entrylevel In SQL Server, in the T-SQL you use to query it, a view looks just like a table (I’m using the AdventureWorks2014 database for all...
View ArticleStored Procedures Are Not Faster Than Views
A performance tuning tip I saw recently said, “Views don’t perform as well as stored procedures.” <sigh> Let’s break this down, just a little. Definitions A view is nothing but a query. The...
View Article
More Pages to Explore .....