Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

how to use stored procedure in laravel

DB::select('exec my_stored_procedure("Param1", "param2",..)');
or

DB::select('exec my_stored_procedure(?,?,..)',array($Param1,$param2));
Try this for without parameters

DB::select('EXEC my_stored_procedure')
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #stored #procedure #laravel
ADD COMMENT
Topic
Name
9+7 =