当我像这样在laravel5中运行更新存储过程时,就会出现错误。



我的代码是...

return DB::select('call sp_clientupdate(108, Sandeep,0999999999,,,[email protected],,,,,,,)');

请任何人给我解决方案.....

最佳答案

你改变。

return DB::select('call sp_clientupdate("108", "Sandeep","0999999999","","","[email protected]","","","","","","",)');

尝试它运行正常。

关于php - 如何在Laravel上调用存储过程?,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/30498227/

10-11 09:13