Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

Create Clustered index on a view

$
0
0

I have a view that takes forever to run. Can we create Clustered index on a view? Below is my code. Pl advise how we can create clustered index on this view?

SELECT DisTINCT Field1, Field2, Field3, Field4

  FROM

dbo.Vw_Test(NOLOCK)

WHERE

Field1 <= 100

ORDER BY FIELD1



Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>