79712486

Date: 2025-07-23 19:51:10
Score: 2.5
Natty:
Report link

Especially you want to create Indexed View (Materialized View) with UNION inside that view which is not possible: Cannot create index on view 'sql.dbo.vw_INDX' because it contains one or more UNION, INTERSECT, or EXCEPT operators. Consider creating a separate indexed view for each query that is an input to the UNION, INTERSECT, or EXCEPT operators of the original view.

But I need that view in another Query to join with.

PS: MS SQL Server 2014 Enterprise

Reasons:
  • Blacklisted phrase (0.5): I need
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Zlobnyfar