I am using the code igniter framework. And I been trying to execute a stored procedure(no params) I wrote on Microsoft SQL Server 2008 from PHP but i get an error . This sto
I also had the similar issue while connecting to MS SQL Server 2008 using sqlsrv driver. My issue was resolved using the following code:
$result = $this->db->query("PROCEDURE_NAME {$param_1}, {$param_2}") ->result_array();
I have this helps someone out there =]