Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

狀況

請考慮下列情況:

  • 您執行 SQL Server 2008 R2 分散式查詢處理器的四部分連結的伺服器查詢的 SELECT 陳述式對 Windows V10.5 DB2 資料庫。

  • 為長 VARCHAR,資料會儲存在 DB2 的 Windows V10.5。

在這個案例中,您會收到下列錯誤訊息:

連結的伺服器提供資料行的中繼資料不一致。
無法在執行階段有 DBTYPE 128 的編譯時期和 129 報告資料行。

原因

Microsoft OLE DB 提供者 DB2 和 DB2 Microsoft DRDA 應用程式要求者用戶端不會轉換 DB2 的 Windows V10.5 長 VARCHAR 資料型別為正確的 Microsoft OLE DB 資料型別一致。下列兩個處理時,就會發生這個問題:

  • 資料行的結構描述

  • 查詢的結果集

解決方案

這個問題都被固定累積的更新 2 ,其中的主機整合伺服器 2016年。

狀態

Microsoft 已確認這是<套用>一節所列出的 Microsoft 產品的問題。

參考

了解 Microsoft 用來描述軟體更新的有關的術語

Need more help?

Want more options?

探索訂閱權益、瀏覽訓練課程、瞭解如何保護您的裝置等等。

社群可協助您詢問並回答問題、提供意見反應,以及聆聽來自具有豐富知識的專家意見。

Was this information helpful?

How satisfied are you with the translation quality?
What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×