english/libraries/joomla/database/database/sqlsrv.php
/**
	 * Drops a table from the database.
	 *
	 * @param   string   $tableName  The name of the database table to drop.
	 * @param   boolean  $ifExists   Optionally specify that the table must exist before it is dropped.
	 *
	 * @return  JDatabaseSQLSrv  Returns this object to support chaining.
	 * @since   11.1
	 */
Drops a table from the database.
@param   string   $tableName  The name of the database table to drop.
@param   boolean  $ifExists   Optionally specify that the table must exist before it is dropped.

@return  JDatabaseSQLSrv  Returns this object to support chaining.
Drops a table from the database . @param string $tableName The name of the database table to drop . @param boolean $ifExists Optionally specify that the table must exist before it is dropped . @return JDatabaseSQLSrv Returns this object to support chaining .
function dropTable($tableName, $ifExists = true)
	{
		$query = $this->getQuery(true);
		$this->setQuery(
			'IF EXISTS(SELECT TABLE_NAME FROM'.
			' INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = '.
			$query->quote($tableName).') DROP TABLE'
		);
		$this->query();
		return $this;
	}
function dropTable ( $ tableName , $ ifExists = true ) { $ query = $ this -> getQuery ( true ) ; $ this -> setQuery ( 'IF EXISTS(SELECT TABLE_NAME FROM' . ' INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = ' . $ query -> quote ( $ tableName ) . ') DROP TABLE' ) ; $ this -> query ( ) ; return $ this ; }
Drops a table from the database.
Drops a table from the database .