2

Why would SQLGeometry.STContains return null when the values being used are not null?

Jonathan Allen
  • 68,373
  • 70
  • 259
  • 447
  • 1
    "Returns null if the SRID of the two geography instances are not the same." http://msdn.microsoft.com/en-us/library/ff929274.aspx – zerkms Jun 17 '14 at 23:02
  • Ah, that makes sense. But you should put that down below so I can mark it as the right answer. – Jonathan Allen Jun 17 '14 at 23:06

1 Answers1

5

According to the documentation:

Returns null if the SRID of the two geography instances are not the same.

References:

zerkms
  • 249,484
  • 69
  • 436
  • 539