public function isTableEmpty($tableName)
	{
		$tableNameQuoted = $this->getDb()->quoteTableName($tableName);
		$cmd = sprintf('SELECT COUNT(*) FROM %s', $tableNameQuoted);

		return $this->getDb()->createCommand($cmd)->queryScalar() === 0;
	}