Generate the DROP statement for a table.

@param table
The name of the table to drop.
@return The SQL to drop a table.
480713
public String generateDrop(String table) {
	StringBuffer result = new StringBuffer();
	result.append("DROP TABLE ");
	result.append(table);
	result.append(";\n");
	return result.toString();
    }
105795
public String generateSqlDelete(String tableName) {
        try {
            return cacheSQLs.get("DELETE:" + tableName, () -> {
                return MessageFormat.format("DELETE FROM {0} WHERE {1}", tableName,
                        strWherePkClause);
            });
        } catch (ExecutionException e) {
            throw new DaoException(e);
        }
    }
1165720
public static void dropTablesAndIndices(SQLiteDatabase db) {
		drop(db, QueryType.INDEX, null);
		drop(db, QueryType.TABLE, null);
	}
397935
@Override
    public void dropSchema()
    {
        // dropping all the tables in the Oracle NoSQL store
        if (operation != null && operation.equalsIgnoreCase("create-drop"))
        {
            for (TableInfo tableInfo : tableInfos)
            {
                try
                {
                    StatementResult result = tableAPI.executeSync("DROP TABLE IF EXISTS " + tableInfo.getTableName());
                    if (!result.isSuccessful())
                    {
                        throw new SchemaGenerationException("Unable to DROP TABLE " + tableInfo.getTableName());
                    }
                }
                catch (IllegalArgumentException e)
                {
                    logger.error("Invalid DROP TABLE Statement. Caused By: ", e);
                    throw new SchemaGenerationException(e, "Invalid DROP TABLE Statement. Caused By: ");
                }
                catch (FaultException e)
                {
                    logger.error("DROP TABLE Statement couldn't be executed. Caused By: ", e);
                    throw new SchemaGenerationException(e, "Invalid DROP TABLE Statement is executed. Caused By: ");
                }
            }
        }
    }
1172951
@NonNull
  public static DeleteSelection deleteFrom(@NonNull String table) {
    return deleteFrom(CqlIdentifier.fromCql(table));
  }
275633
public void dropCQLTable(String storeName) {
        String tableName = CQLService.storeToCQLName(storeName);
        m_logger.info("Dropping table: {}", tableName);
        String cql = "DROP TABLE " + qualifiedTableName(tableName) + ";";
        executeCQL(cql);
    }
1108028
public static void drop(DB db, String tableName) {
    DBSetup.drop(CallInfo.create(), db, tableName);
  }
169957
public function dropTable($table)
    {
    	if(!$this->hasTable($table)) {
    		return hst_message('is has table');
    	}
        \Schema::connection($this->databaseName)->drop($table);
		return true;
    }
115044
@NonNull
  public static Drop dropTable(@Nullable CqlIdentifier keyspace, @NonNull CqlIdentifier tableName) {
    return new DefaultDrop(keyspace, tableName, "TABLE");
  }
425299
def drop_table(self, cursor, target, options):
        ""
        sql = 'DROP TABLE IF EXISTS {0}'
        cursor.execute(sql.format(self.qualified_names[target]))
792490
public function dropIfExists($table)
    {
        $blueprint = $this->createBlueprint($table);

        $blueprint->dropIfExists();

        $this->build($blueprint);
    }
249052
def drop_column(self, tablename: str, fieldname: str) -> int:
        """"""
        sql = "ALTER TABLE {} DROP COLUMN {}".format(tablename, fieldname)
        log.info(sql)
        return self.db_exec_literal(sql)
928541
def DropTables(self):
    """"""

    rows, _ = self.ExecuteQuery(
        "SELECT table_name FROM information_schema.tables "
        "WHERE table_schema='%s'" % self.database_name)
    for row in rows:
      self.ExecuteQuery("DROP TABLE `%s`" % row["table_name"])
1271056
public static function drop($table, $connection = null)
	{
		$table = new Table($table);

		$table->on($connection);

		// To indicate that the table needs to be dropped, we will run the
		// "drop" command on the table instance and pass the instance to
		// the execute method as calling a Closure isn't needed.
		$table->drop();

		return static::execute($table);
	}
144173
def get_drop_index_sql(self, index, table=None):
        
        if isinstance(index, Index):
            index = index.get_quoted_name(self)

        return "DROP INDEX %s" % index
747222
public Crud<T, K> table(String table) {
        return new LazyCrud<T, K>(this, table);
    }
185050
public function getDropTableSql($table)
    {
        $table = $this->buildRealTableName($table);
        return $this->getSchema()->getDropTableSql($table);
    }