title: Laravel sql server execute stored procedure with array parameter
body: <p>I have a very simple question; I have a query running perfectly on sql server and I want to run this query using laravel framework, here is the query:</p>
  
  <pre><code>DECLARE @countries AS countryList; 
      INSERT INTO @countries SELECT countries.id FROM countries where countries.id in (1,2,3,4,9,11,14);
      EXEC sp_positionofCourtCasesofLoanDefaultA @countries
  </code></pre>
  
  <p>in Laravel this is returning 'true' always</p>
  
  <pre><code> $result = DB::statement('DECLARE @countries AS countryList; INSERT INTO @countries SELECT countries.id FROM countries where countries.id in (' . $countries . ');
   EXEC sp_positionofCourtCasesofLoanDefaultA @countries');
  
   dd($result);
  </code></pre>
  
  <p>please help.</p>