print("DROP TRIGGER "); printIdentifier(getConstraintName("trg", table, columns[idx].getName(), null)); printEndOfStatement(); print("DROP GENERATOR "); printIdentifier(getGeneratorName(table, columns[idx])); printEndOfStatement();
writeAutoIncrementDropStmts(table, columns[idx]);
    public void dropTable(Table table) throws IOException    {        super.dropTable(table);        // dropping generators for auto-increment        Column[] columns = table.getAutoIncrementColumns();        for (int idx = 0; idx < columns.length; idx++)        {            print("DROP TRIGGER ");            printIdentifier(getConstraintName("trg", table, columns[idx].getName(), null));            printEndOfStatement();            print("DROP GENERATOR ");            printIdentifier(getGeneratorName(table, columns[idx]));            printEndOfStatement();        }    }