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.

徵狀

假設您針對在 Microsoft SQL Server 2014 或2016中使用表格值參數的儲存程式建立同義字。 當您使用來自遠端程式調用(RPC)中的同義字(例如從 c # 應用程式)執行該儲存程式時,執行會失敗,而且您會收到下列錯誤訊息:

錯誤:2809 要求程式 <程式名稱> 失敗,因為 <物件名稱> 是同義字物件。

注意: 當您使用 SQL Server Management Studio 執行相同的儲存程式時,不會發生此問題。

解決方案

此問題已在 SQL Server 的下列累積更新中修正:

每個新的 SQL Server 累計更新都包含所有的修正程式,以及前一個累積更新中所包含的所有安全性修正程式。 我們建議您下載並安裝最新的 SQL Server 累積更新:

狀態

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!

×