1

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:-

enter image description here

And here's the a picture of the schema:

enter image description here

halfer
  • 19,824
  • 17
  • 99
  • 186
Pure.Krome
  • 84,693
  • 113
  • 396
  • 647

1 Answers1

3

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.

enter image description here

enter image description here

Community
  • 1
  • 1
Pure.Krome
  • 84,693
  • 113
  • 396
  • 647