[eluser]Pygon[/eluser]
Not exactly sure what's going on here but this is driving me crazy.
ActiveRecord seems to be escaping all column names with double-quotes, however this is causing all queries to fail.
Taking the same query and placing it in MsSQL Administrator gives the correct results.
Anyone else run into this and possibly have a solution? Really doesn't seem to make any sense, unless MsSQL Administrator is stripping these double-quotes around column names or something wonky is happening to these double-quotes.
Example:
Code:
$this->db->select('column1,column2')->from('table');
$this->db-get(); //fails
$this->db->select('column1,column2',FALSE)->from('table');
$this->db->get(); //works
This by itself isn't the biggest issue -- the biggest issue is that I cannot join() anything.
I haven't gotten much further in, but I have a good feeling the MSSQL adapter is going to blow chunks on plenty of other things.