/** * Add an ALTER column clause (to change the column type) to this ALTER TABLE statement. * * @param columnName the name of the column to be altered. * @return a new {@link Alter.AlterColumn} instance. */ public AlterColumn alterColumn(String columnName) { validateNotEmpty(columnName, "Column to be altered"); validateNotKeyWord( columnName, String.format( "The altered column name '%s' is not allowed because it is a reserved keyword", columnName)); return new AlterColumn(this, columnName); }
/** * Add an ALTER column clause (to change the column type) to this ALTER TABLE statement. * * @param columnName the name of the column to be altered. * @return a new {@link Alter.AlterColumn} instance. */ public AlterColumn alterColumn(String columnName) { validateNotEmpty(columnName, "Column to be altered"); validateNotKeyWord(columnName, String.format("The altered column name '%s' is not allowed because it is a reserved keyword", columnName)); return new AlterColumn(this, columnName); }
/** * Add an ALTER column clause (to change the column type) to this ALTER TABLE statement. * * @param columnName the name of the column to be altered. * @return a new {@link Alter.AlterColumn} instance. */ public AlterColumn alterColumn(String columnName) { validateNotEmpty(columnName, "Column to be altered"); validateNotKeyWord(columnName, String.format("The altered column name '%s' is not allowed because it is a reserved keyword", columnName)); return new AlterColumn(this, columnName); }
/** * Add an ALTER column clause (to change the column type) to this ALTER TABLE statement. * * @param columnName the name of the column to be altered. * @return a new {@link Alter.AlterColumn} instance. */ public AlterColumn alterColumn(String columnName) { validateNotEmpty(columnName, "Column to be altered"); validateNotKeyWord(columnName, String.format("The altered column name '%s' is not allowed because it is a reserved keyword", columnName)); return new AlterColumn(this, columnName); }