Error in Query |
[eluser]Tamilmani[/eluser]
I have used SQL AZURE PHP DRIVERie is Quote:sqlsrv. My Query is Code: $this->db->select('*'); Code: A PHP Error was encountered Any suggestion please ?
[eluser]davidk43[/eluser]
Very late reply as only just been looking at this myself. Take a look here: http://ellislab.com/forums/viewreply/803049/ I added the suggested code into the top of the sqlsrv driver class and that error went away. I think those vars just needed declaring. If any ninja coders are reading this. With sqlsrv now on version 2 and M$ committing a bit more to PHP it would be great for sqlsrv to be treated a bit more seriously. The guys writing up to version 1.1 of the driver have done a great job however to really harness MSSQL you need to get into stored procedures and xquery abilities that provides etc which is pretty impossible looking at the current active record class. I could however be very wrong as its beyond my skill but I'm now using the the current sqlsrv driver for basic queries with a native query running off the active connection for all stored procedure queries. A bit rubbish but gets the job done. Just about. |
Welcome Guest, Not a member yet? Register Sign In |