Developing views in SQL Server

For the remainder of this chapter, we will focus our attention on Microsoft SQL Server functions and procedures that will help us understand and manipulate our data. The more we can manipulate our data to a desired outcome at database level, the less manipulation will be needed by BI developers, data analysts, or business users at the reporting level. This will make for a happy customer.

Quite often, a developer will find themselves querying the same results over and over again with minor changes to a filter a name or a filter a date on regular basis. This type of query is a good candidate to be converted into a view within SQL Server. There are certain advantages to creating a view compared to using the actual table ...

Get Practical Business Intelligence now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.