我在sql中创建了一个过程,如下所示:
_handleSubmit(e) {
e.preventDefault();
// TODO: do something with -> this.state.file
fetch('http://localhost:1337/uploadPhoto/logos', {
method: 'POST',
body: JSON.stringify({avatar:this.state.file})
})
.then((response) => response.json())
.catch((err) => { console.log(err); });
}
它已成功创建。但是当我尝试使用查询执行时
exec spAddEmployee;
显示错误如下:
Msg 201,Level 16,State 4,Procedure spAddEmployee,Line 0 过程或函数'spAddEmployee'需要参数'@Name',这是未提供的。
未提供显示@Name参数。但我已经做到了。请帮我弄清楚这个问题是什么。
由于