framework/db/schema/mssql/CMssqlCommandBuilder.php
public function createFindCommand($table,$criteria,$alias='t')
	{
		$criteria=$this->checkCriteria($table,$criteria);
		return parent::createFindCommand($table,$criteria,$alias);

	}
public function createFindCommand($table,$criteria,$alias='t')
	{
		$criteria=$this->checkCriteria($table,$criteria);
		return parent::createFindCommand($table,$criteria,$alias);

	}
public function createFindCommand ( $ table , $ criteria , $ alias = 't' ) { $ criteria = $ this -> checkCriteria ( $ table , $ criteria ) ; return parent :: createFindCommand ( $ table , $ criteria , $ alias ) ; }
Creates a SELECT command for a single table.
Override parent implementation to check if an orderby clause if specified when querying with an offset
@param CDbTableSchema $table the table metadata
@param CDbCriteria $criteria the query criteria
@param string $alias the alias name of the primary table. Defaults to 't'.
@return CDbCommand query command.
Creates a SELECT command for a single table . Override parent implementation to check if an orderby clause if specified when querying with an offset