How to call stored procedure on Laravel?

前端 未结 2 2045
余生分开走
余生分开走 2021-02-13 20:16

Error comes when i run update stored procedure in laravel5 like this..

QueryException in Connection.php line 620: SQLSTATE[42000]: Syntax e

2条回答
  •  北海茫月
    2021-02-13 21:02

    You change.

    return DB::select('call sp_clientupdate("108", "Sandeep","0999999999","","","sandeep@gmail.com","","","","","","",)');
    

    Try it's working perfectly....

提交回复
热议问题