Quantcast
Channel: Answers for "Is there an easy equivalent to Materialized view in SQL Server?"
Browsing latest articles
Browse All 12 View Live

Answer by Matt Whitfield

Indexed views are the easy way. The complicated bit about them is getting them to work in the first place by fulfilling the requirements (i.e. fully deterministic, schema-bound data). But once you've...

View Article



Answer by Kev Riley

The rough equivalent is indexed views, as you have already discovered.The other alternative, like you have already mentioned, is to build this data into a real table (akin to datawarehousing), but this...

View Article

Answer by TimothyAWiseman

Matt and Kev are both completely right, but one thing to remember is that if you are not using Enterprise edition you may need to use the NoExpand query hint to take full advantage of the view. More...

View Article

Answer by Repriser

On the base table, you can create "computed columns" ("PERSISTED"). With that you can create views and/or indexed views using those columns. Jason http://dbace.us ,

View Article

Answer by betibeau

depending on the velocity of insert or update on the base table (the one to be aggregate or calculation made with) just create a specific table for reporting. And, based on the frequency of change...

View Article


Answer by betibeau

around the new table containing the calculated figures, you could deploy a simple delta detection to avoid a complete recreation (when rquired), and then apply update/insert/delete or flag as logically...

View Article
Browsing latest articles
Browse All 12 View Live




Latest Images