参数我不知道如何格式化字符串请求边缘SQL为了执行需要参数的存储过程。如果我更改存储过程不使用参数,只需发送exec sp_III_UpdateOperMgr
它正确执行。想不通的语法调用存储过程与边缘SQL
下面是我使用的边缘-SQL,返回错误
语法“找不到存储的过程sp_III_UpdateOperMgr @ quoteNumber,@采购单号码'。”
var updateOpMgrSql = edge.func('sql',{
connectionString: GM_CONNECTION_STRING,
source:function() {
/*
exec sp_III_UpdateOperMgr @quoteNumber,@poNumber
*/
},
});
下面是MS SQL Server Management Studio中使用的语法正确执行 exec sp_III_UpdateOperMgr @quoteNumber='121715JM-1',@innovationJobNumber='999999'
看起来像它是在2013年添加在[这里](https://github.com/tjanczuk/edge-sql/commit/1ddb418a77e391673a5e3d97ee7769a2fba3e73e)。如果它不需要参数,该过程也适用。 –
所以你怎么打电话updateOpMgrSql?像'updateOpMgrSql({quoteNumber:10,采购单号码:15}?...' – strickt01
我已经编辑我的答案,你的链接... – strickt01