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實例升級至 SQL Server 2019 RTM 或更新版本,或是將資料庫從 SQL Server 2019 年 SQL Server 版還原至 SQL Server 2019 RTM 或更新版本。

  • 您將資料庫相容性等級變更為 150。

  • 當您使用所有資料表和 User-Defined 函數 (UDF) 在還原的資料庫上建立事務性出版物時,您會注意到快照代理程式失敗,並傳回下列錯誤訊息:

Microsoft.SqlServer.Replication.ReplicationAgentSqlException

Datetime 例外訊息:已針對 「CREATE/ALTER FUNCTION」 語句指定不正確選項。

Datetime 在此內容中無法使用含有傳回值的 RETURN 語句。

Datetime 訊息代碼:487

狀態

Microsoft 已確認<適用於>一節所列的 Microsoft 產品確實有上述問題。

解決方案

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

SQL Server 2019 的累積更新 8

關於SQL Server的累積更新:

每個SQL Server的新累積更新都包含所有 Hotfix 以及先前累積更新隨附的所有安全性修正。 查看SQL Server的最新累積更新:

SQL Server 2019 的最新累積更新

參考

了解 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!

×