ifExists = readIfExists(ifExists); checkSchema(table.getSchema()); AlterTableDropConstraint command = new AlterTableDropConstraint( session, getSchema(), ifExists); command.setConstraintName(constraintName); return command; } else if (readIf("FOREIGN")) { .getSchema().getName()); checkSchema(table.getSchema()); AlterTableDropConstraint command = new AlterTableDropConstraint( session, getSchema(), false); command.setConstraintName(constraintName); return command; } else if (readIf("INDEX")) {