我调用存储过程的存储过程的返回值“ujo_get_id”通过下面的代码访问
new sql.Request()
.input('id', sql.Int, 0)
.input('fld', sql.VarChar(10), fld)
.execute('ujo_get_id').then(function(recordsets) {
console.log(recordsets[0][0]);
}.catch(function(err) {
// ... execute error checks
});
控制台的输出显示这个{ ' ': "some value" }
我想要的值存储(一些值)在变量我怎么能这样做,因为键是空的
您能修改存储过程? – jjwilly16