Laravel Model SQL Server: Obtenga parámetros de salida del procedimiento almacenado

Deseo obtener el parámetro de salida de mi procedimiento almacenado de SQL Server en el Modelo de mi Laravel. El Procedimiento almacenado funciona perfectamente en la herramienta de administración de SQL Server y también en el archivo php NORMAL pero no funciona en el MODELO LARAVEL.

Así es como estoy ejecutando el Procedimiento almacenado en el Modelo Laravel:

    $id              =   "123454";
    $email           =   "[email protected]";
    $name            =   "FName, LName";
    $returnval        =   1; //My OUTPUT PARAMETER from SP
    $action       =   'ACTION_MESSAGE;
    $dummy            =   0;
    $client          =   $request->input('client');
    $team_l          =   $request->input('team');
    $contact         =   $request->input('contact');
    $team            =   $request->input('team_l');

    $Query        =  DB::select
                            (" SET NOCOUNT ON; SET ANSI_NULLS ON; SET ANSI_WARNINGS ON; EXEC [MY_STORED_PROC]
                                        $client,
                                        $team,
                                        $contact,
                                        '$team_l',
                                        '$id',
                                        '$name',
                                        '$email',
                                        '$action',
                                        $dummy,
                                        $returnval
                            ");

En Laravel recibo el siguiente error cuando intento ejecutar el Procedimiento almacenado:

(3/3) QueryException
SQLSTATE[IMSSP]: The active result for the query contains no fields.

Así es como estaba usando el PHP normal que funcionaba:

    $id              =   "123454";
    $email           =   "[email protected]";
    $name            =   "FName, LName";
    $returnval       =   1; //My OUTPUT PARAMETER from SP
    $action          =   'ACTION_MESSAGE;
    $dummy           =   0;
    $client          =   $_POST('client');
    $team            =   $_POST('team');
    $contact         =   $_POST('contact');
    $team_l          =   $_POST('team_l');

    $Query        = "{ CALL  My_PROC_NAME(?,?,?,?,?,?,?,?,?,?) }";
    $PARAMS           = array(   array($client, SQLSRV_PARAM_IN),
                                array($team,        SQLSRV_PARAM_IN),
                                array($contact, SQLSRV_PARAM_IN),
                                array($team_l,      SQLSRV_PARAM_IN),
                                array($id,         SQLSRV_PARAM_IN),
                                array($name,       SQLSRV_PARAM_IN),
                                array($email,       SQLSRV_PARAM_IN),
                                array($action,      SQLSRV_PARAM_IN),
                                array($dummy,       SQLSRV_PARAM_IN),
                                array($returnval,   SQLSRV_PARAM_OUT)
                            );              

        $result     =   sqlsrv_query($connect, $Query,$PARAMS);

Mi procedimiento almacenado y todo parece estar bien. Intenté lo siguiente manteniendo el procedimiento almacenado también pero no tuve suerte:

SET NOCOUNT ON; 
SET ANSI_NULLS ON; 
SET ANSI_WARNINGS ON;

¿Tengo que SELECCIONAR el parámetro de retorno en el SP para que podamos hacer un bucle y obtenerlo en el MODELO LARAVEL.

Respuestas a la pregunta(2)

Su respuesta a la pregunta