[eluser]Matthieu Fauveau[/eluser]
In the file /database/drivers/mssql/mssql_driver.php you could modify the following function at line 406 with something like :
Code:
function _escape_table($table)
{
if(strpos($table, '_') !== FALSE)
{
$table = '['.$table.']';
}
return $table;
}
or simply (in case it's not a problem to always enclose in brackets with MSSQL) :
Code:
function _escape_table($table)
{
return '['.$table.']';
}
It's definitely something that need to be handled by default in CI as active record classes cannot be extended...