Is it possible to set a primary key to a view?
-
28-09-2019 - |
Question
Is it possible to set a primary key to a view in SQLServer 2008?
Solution
You can create a clustered index on a SQL Server view - it's called an indexed view.
See Improving Performance with SQL Server 2008 Indexed Views for details.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow