I have a view which already has SchemaBinding
applied AND it has a UNIQUE CLUSTERED
index.
Now, i'm trying to add a second index, which is a SPATIAL index ... and I get the following error message:-

and here's the a piccy of the schema....

Can someone help, please?
Pure.Krome
FFS - I found my answer.
Spatial Indexes cannot be specified on indexed views.
The error message is incorrect / misleading.
Cheers & Heads up to a previous SO question which is very similar.
Epic Fail again.


来源:https://stackoverflow.com/questions/5798487/how-can-i-create-a-spatial-index-on-an-indexed-view