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.

徵狀

請試想下列案例:

  • 您可以建立包含身分 識別 資料行的資料表。

  • 您可以使用 INSERT INTO 語句插入 execute sp_execute_external_script 的儲存程式,以將資料插入表格中。

  • 您可以將sp_execute_external_script預存程序的@parallel參數值指定為1

在這種情況下,當您執行 INSERT INTO 語句時,查詢會失敗,而且您會收到下列錯誤訊息:

Msg 213、Level 16、State 7、Line 32 資料行名稱或所提供值的數目與資料表定義不相符。

解決方案

此修正套裝程式含在 SQL Server 2016 Service Pack 1 的 累積更新 5 中。

關於 SQL Server 2016 組建

每個新版 SQL Server 2016 包含前一個組建中所包含的所有修復程式和安全性修正程式。 我們建議您安裝 SQL Server 2016 的最新組建

因應措施

若要解決此問題,請將sp_execute_external_script程式的@parallel參數值設定為0

狀態

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!

×