gpt4 book ai didi

azure - 保存和测试分区集合的存储过程/触发器(可能是用户定义的函数)

转载 作者:行者123 更新时间:2023-12-05 08:20:40 26 4
gpt4 key购买 nike

尝试将修改保存到分区集合中创建的存储过程时,我收到以下错误:

Failed to save the script

以下是 Azure 门户中的详细信息:

Operation name Failed to save the script Time stamp Fri Feb 17 2017 08:46:32 GMT-0500 (Eastern Standard Time) Event initiated by - Description Database Account: MyDocDbAccount, Script: bulkImport, Message: {"code":400,"body":"{\"code\":\"BadRequest\",\"message\":\"Replaces and upserts for scripts in collections with multiple partitions are not supported.

所讨论的存储过程是示例“bulkImport”脚本,可以在 here 中找到。 .

最佳答案

DocumentDB 目前存在一个已知的缺失功能(如果您愿意的话,可以说是 bug),您无法更新分区集合中的现有存储过程。解决方法是先删除它,然后以相同的名称/id 重新创建它。

关于azure - 保存和测试分区集合的存储过程/触发器(可能是用户定义的函数),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42299815/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com