framework/db/schema/mssql/CMssqlSchema.php
public function compareTableNames($name1,$name2)
	{
		$name1=str_replace(array('[',']'),'',$name1);
		$name2=str_replace(array('[',']'),'',$name2);
		return parent::compareTableNames(strtolower($name1),strtolower($name2));
	}
public function compareTableNames($name1,$name2)
	{
		$name1=str_replace(array('[',']'),'',$name1);
		$name2=str_replace(array('[',']'),'',$name2);
		return parent::compareTableNames(strtolower($name1),strtolower($name2));
	}
public function compareTableNames ( $ name1 , $ name2 ) { $ name1 = str_replace ( array ( '[' , ']' ) , '' , $ name1 ) ; $ name2 = str_replace ( array ( '[' , ']' ) , '' , $ name2 ) ; return parent :: compareTableNames ( strtolower ( $ name1 ) , strtolower ( $ name2 ) ) ; }
Compares two table names.
The table names can be either quoted or unquoted. This method
will consider both cases.
@param string $name1 table name 1
@param string $name2 table name 2
@return boolean whether the two table names refer to the same table.
Compares two table names . The table names can be either quoted or unquoted . This method will consider both cases .