$sql[]=sprintf('INSERT INTO %s (%s) SELECT %s FROM %s',$tempTable->getQuotedName($this),implode(', ',$toColumns),implode(', ',$fromColumns),$table->getQuotedName($this));
$sql[]=$this->getDropTableSQL($fromTable);
$sql[]='ALTER TABLE '.$tempTable->getQuotedName($this).' RENAME TO '.$newTable->getQuotedName($this);
$createSql=$this->_conn->fetchAll("SELECT sql FROM (SELECT * FROM sqlite_master UNION ALL SELECT * FROM sqlite_temp_master) WHERE type = 'table' AND name = '$table'");