I have a view that joins two tables using UNION ALL.
UNION ALL
Is it possible to create a unique view in a view?
No, you cannot create an indexed view if the view uses UNION, this was true in SQL 2000 and still true in 2008, see also http://msdn.microsoft.com/en-us/library/dd171921(SQL .100) .aspx
Indexed views cannot contain an operator UNION: see here
UNION
Source: https://habr.com/ru/post/1752929/More articles:Spring Eclipse Plugin Update Site - springLink to a C ++ project in a C # project in visual studio 2008 - c ++When setting the SD / MMC card to SPI mode, can CS pass between bytes? - embeddedInternet Explorer 8 on Windows XP - javascriptIs it possible to format the float in an unscientific format? - .netОпределение уникальных строк двумерного массива (vector>) - c++Используя Python или Java, какой был бы лучший способ создания диаграмм? - javaКак подключить опубликованное решение Visual С# к другой базе данных - c#Palm OS 5.4 (Garnet) ИК-программирование (используйте CIR на IrDa-порту) - c++jQuery scrollTo / localScroll Speed Control? - performanceAll Articles