Question

Is it possible to set a primary key to a view in SQLServer 2008?

Was it helpful?

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
scroll top