How to call stored procedure on Laravel?

前端 未结 2 2047
余生分开走
余生分开走 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 20:51

    Try this one,

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

    It works perfectly.

提交回复
热议问题