在为我的Data Factory部署我的ARM时,它没有识别出我的存储过程,并没有将此值作为我的“存储过程名称” :[object Object]
这是在 ARM模板中声明我的存储过程的方式:
{
"name": "execute_teststoredproc",
"type": "SqlServerStoredProcedure",
"dependsOn": [],
"policy": {
"timeout": "7.00:00:00",
"retry": 0,
"retryIntervalInSeconds": 30,
"secureOutput": false,
"secureInput": false
},
"userProperties": [],
"typeProperties": {
"storedProcedureName": {
"value": "[[dbo].[teststoredproc]"
}
},
"linkedServiceName": {
"referenceName": "TargetSQLDB",
"type": "LinkedServiceReference"
}
}
有人知道为什么会这样吗?谢谢。
答案 0 :(得分:0)
显然,value
不能使用storedProcedureName
字段。简单而微妙的差异可能使您浪费不必要的时间。
正确的代码:
"typeProperties": {
"storedProcedureName": "[[dbo].[teststoredproc]"
}
代替
"typeProperties": {
"storedProcedureName": {
"value": "[[dbo].[teststoredproc]"
}
}