Try something like this
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')
More Related Contents:
- Laravel 5 – redirect to HTTPS
- Laravel : Syntax error or access violation: 1055 Error
- How to validate array in Laravel?
- Access Controller method from another controller in Laravel 5
- What is the difference between find(), findOrFail(), first(), firstOrFail(), get(), list(), toArray()
- Can’t install laravel installer via composer
- Laravel: validate an integer field that needs to be greater than another
- Laravel Request::all() Should Not Be Called Statically
- Handling expired token in Laravel
- Laravel 5 not finding css files
- Laravel catch TokenMismatchException
- Why do I have to run “composer dump-autoload” command to make migrations work in laravel?
- How to select all column name from a table in laravel?
- Laravel 5 hasMany relationship on two columns
- Laravel 5.2 Auth not Working
- Call to undefined method Maatwebsite\Excel\Excel::load()
- Laravel 5 – Clear Cache in Shared Hosting Server
- Laravel 5 change public_path()
- ErrorBag is always empty in Laravel 5.2
- Laravel 5.2 not reading env file
- Fatal error: Class ‘Illuminate\Foundation\Application’ not found
- disable csrf in laravel for specific route
- SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: nodename nor servname provided, or not known
- Custom validator in Laravel 5
- laravel 5 : Class ‘input’ not found
- Class ‘App\Http\Controllers\DB’ not found and I also cannot use a new Model
- Get Return Value from SQL Stored Procedure using PHP
- How to remove /public/ from a Laravel URL
- Merge ‘with’ and ‘whereHas’ in Laravel 5
- Unit Test Laravel’s FormRequest