我有一個SQL Server實例,我已經將鏈接服務器添加到另一個SQL實例。我在鏈接服務器上訪問的表包含空間類型。當我嘗試查詢表我收到一個錯誤:SQL Server空間和鏈接服務器
Objects exposing columns with CLR types are not allowed in distributed queries. Please use a pass-through query to access remote object.
如果我使用OPENQUERY
具有相同的查詢,我得到另一個錯誤:
A severe error occurred on the current command. The results, if any, should be discarded.
有什麼辦法來查詢包含空間類型的表通過鏈接服務器?要解決此
地理學,用途:地理:: STGeomFromText(去,4326) – 2014-03-10 09:57:56