public interface AlterTableStep
ALTER TABLE
statement where the action can be
decided.
XYZ*Step
types directly from client code
It is usually not recommended to reference any XYZ*Step
types
directly from client code, or assign them to local variables. When writing
dynamic SQL, creating a statement's components dynamically, and passing them
to the DSL API statically is usually a better choice. See the manual's
section about dynamic SQL for details: https://www.jooq.org/doc/latest/manual/sql-building/dynamic-sql.
Drawbacks of referencing the XYZ*Step
types directly:
Modifier and Type | Method and Description |
---|---|
AlterTableFinalStep |
add(Collection<? extends FieldOrConstraint> fields)
Add an
ADD clause with multiple columns or constraints to
the ALTER TABLE statement. |
AlterTableUsingIndexStep |
add(Constraint constraint)
Add an
ADD CONSTRAINT clause to the ALTER TABLE
statement. |
AlterTableFinalStep |
add(Field<?> field)
Add an
ADD COLUMN clause to the ALTER TABLE
statement. |
<T> AlterTableFinalStep |
add(Field<T> field,
DataType<T> type)
Add an
ADD COLUMN clause to the ALTER TABLE
statement. |
AlterTableFinalStep |
add(FieldOrConstraint... fields)
Add an
ADD clause with multiple columns or constraints to
the ALTER TABLE statement. |
AlterTableFinalStep |
add(Name field,
DataType<?> type)
Add an
ADD COLUMN clause to the ALTER TABLE
statement. |
AlterTableFinalStep |
add(String field,
DataType<?> type)
Add an
ADD COLUMN clause to the ALTER TABLE
statement. |
AlterTableFinalStep |
addColumn(Field<?> field)
Add an
ADD COLUMN clause to the ALTER TABLE
statement. |
<T> AlterTableFinalStep |
addColumn(Field<T> field,
DataType<T> type)
Add an
ADD COLUMN clause to the ALTER TABLE
statement. |
AlterTableFinalStep |
addColumn(Name field,
DataType<?> type)
Add an
ADD COLUMN clause to the ALTER TABLE
statement. |
AlterTableFinalStep |
addColumn(String field,
DataType<?> type)
Add an
ADD COLUMN clause to the ALTER TABLE
statement. |
AlterTableFinalStep |
addColumnIfNotExists(Field<?> field)
Add an
ADD COLUMN IF NOT EXISTS clause to the ALTER TABLE
statement. |
<T> AlterTableFinalStep |
addColumnIfNotExists(Field<T> field,
DataType<T> type)
Add an
ADD COLUMN IF NOT EXISTS clause to the ALTER TABLE
statement. |
AlterTableFinalStep |
addColumnIfNotExists(Name field,
DataType<?> type)
Add an
ADD COLUMN IF NOT EXISTS clause to the ALTER TABLE
statement. |
AlterTableFinalStep |
addColumnIfNotExists(String field,
DataType<?> type)
Add an
ADD COLUMN IF NOT EXISTS clause to the ALTER TABLE
statement. |
AlterTableFinalStep |
addIfNotExists(Field<?> field)
Add an
ADD COLUMN IF NOT EXISTS clause to the ALTER TABLE
statement. |
<T> AlterTableFinalStep |
addIfNotExists(Field<T> field,
DataType<T> type)
Add an
ADD COLUMN IF NOT EXISTS clause to the ALTER TABLE
statement. |
AlterTableFinalStep |
addIfNotExists(Name field,
DataType<?> type)
Add an
ADD COLUMN IF NOT EXISTS clause to the ALTER TABLE
statement. |
AlterTableFinalStep |
addIfNotExists(String field,
DataType<?> type)
Add an
ADD COLUMN IF NOT EXISTS clause to the ALTER TABLE
statement. |
<T> AlterTableAlterStep<T> |
alter(Field<T> field)
Add an
ALTER COLUMN clause to the ALTER TABLE
statement. |
AlterTableAlterStep<Object> |
alter(Name field)
Add an
ALTER COLUMN clause to the ALTER TABLE
statement. |
AlterTableAlterStep<Object> |
alter(String field)
Add an
ALTER COLUMN clause to the ALTER TABLE
statement. |
<T> AlterTableAlterStep<T> |
alterColumn(Field<T> field)
Add an
ALTER COLUMN clause to the ALTER TABLE
statement. |
AlterTableAlterStep<Object> |
alterColumn(Name field)
Add an
ALTER COLUMN clause to the ALTER TABLE
statement. |
AlterTableAlterStep<Object> |
alterColumn(String field)
Add an
ALTER COLUMN clause to the ALTER TABLE
statement. |
AlterTableFinalStep |
comment(Comment comment)
Specify a comment for a table using MySQL's syntax.
|
AlterTableFinalStep |
comment(String comment)
Specify a comment for a table using MySQL's syntax.
|
AlterTableDropStep |
drop(Collection<? extends Field<?>> fields)
Add an
DROP COLUMN clause to the ALTER TABLE
statement. |
AlterTableFinalStep |
drop(Constraint constraint)
Add a
DROP CONSTRAINT clause to the ALTER TABLE
statement. |
AlterTableDropStep |
drop(Field<?>... fields)
Add an
DROP COLUMN clause to the ALTER TABLE
statement. |
AlterTableDropStep |
drop(Field<?> field)
Add an
DROP COLUMN clause to the ALTER TABLE
statement. |
AlterTableDropStep |
drop(Name... fields)
Add an
DROP COLUMN clause to the ALTER TABLE
statement. |
AlterTableDropStep |
drop(Name field)
Add an
DROP COLUMN clause to the ALTER TABLE
statement. |
AlterTableDropStep |
drop(String... fields)
Add an
DROP COLUMN clause to the ALTER TABLE
statement. |
AlterTableDropStep |
drop(String field)
Add an
DROP COLUMN clause to the ALTER TABLE
statement. |
AlterTableDropStep |
dropColumn(Field<?> field)
Add an
DROP COLUMN clause to the ALTER TABLE
statement. |
AlterTableDropStep |
dropColumn(Name field)
Add an
DROP COLUMN clause to the ALTER TABLE
statement. |
AlterTableDropStep |
dropColumn(String field)
Add an
DROP COLUMN clause to the ALTER TABLE
statement. |
AlterTableDropStep |
dropColumnIfExists(Field<?> field)
Add an
DROP COLUMN IF EXISTS clause to the ALTER TABLE
statement. |
AlterTableDropStep |
dropColumnIfExists(Name field)
Add an
DROP COLUMN IF EXISTS clause to the ALTER TABLE
statement. |
AlterTableDropStep |
dropColumnIfExists(String field)
Add an
DROP COLUMN IF EXISTS clause to the ALTER TABLE
statement. |
AlterTableDropStep |
dropColumns(Collection<? extends Field<?>> fields)
Add an
DROP COLUMN clause to the ALTER TABLE
statement. |
AlterTableDropStep |
dropColumns(Field<?>... fields)
Add an
DROP COLUMN clause to the ALTER TABLE
statement. |
AlterTableDropStep |
dropColumns(Name... fields)
Add an
DROP COLUMN clause to the ALTER TABLE
statement. |
AlterTableDropStep |
dropColumns(String... fields)
Add an
DROP COLUMN clause to the ALTER TABLE
statement. |
AlterTableFinalStep |
dropConstraint(Name constraint)
Add a
DROP CONSTRAINT clause to the ALTER TABLE
statement. |
AlterTableFinalStep |
dropConstraint(String constraint)
Add a
DROP CONSTRAINT clause to the ALTER TABLE
statement. |
AlterTableDropStep |
dropIfExists(Field<?> field)
Add an
DROP COLUMN IF EXISTS clause to the
ALTER TABLE statement. |
AlterTableDropStep |
dropIfExists(Name field)
Add an
DROP COLUMN IF EXISTS clause to the
ALTER TABLE statement. |
AlterTableDropStep |
dropIfExists(String field)
Add an
DROP COLUMN IF EXISTS clause to the
ALTER TABLE statement. |
AlterTableRenameColumnToStep |
renameColumn(Field<?> oldName)
Add a
RENAME COLUMN clause to the ALTER TABLE
statement. |
AlterTableRenameColumnToStep |
renameColumn(Name oldName)
Add a
RENAME COLUMN clause to the ALTER TABLE
statement. |
AlterTableRenameColumnToStep |
renameColumn(String oldName)
Add a
RENAME COLUMN clause to the ALTER TABLE
statement. |
AlterTableRenameConstraintToStep |
renameConstraint(Constraint oldName)
Add a
RENAME CONSTRAINT clause to the ALTER TABLE
statement. |
AlterTableRenameConstraintToStep |
renameConstraint(Name oldName)
Add a
RENAME CONSTRAINT clause to the ALTER TABLE
statement. |
AlterTableRenameConstraintToStep |
renameConstraint(String oldName)
Add a
RENAME CONSTRAINT clause to the ALTER TABLE
statement. |
AlterTableRenameIndexToStep |
renameIndex(Index oldName)
Add a
RENAME INDEX clause to the ALTER TABLE
statement. |
AlterTableRenameIndexToStep |
renameIndex(Name oldName)
Add a
RENAME INDEX clause to the ALTER TABLE
statement. |
AlterTableRenameIndexToStep |
renameIndex(String oldName)
Add a
RENAME INDEX clause to the ALTER TABLE
statement. |
AlterTableFinalStep |
renameTo(Name newName)
Add a
RENAME TO clause to the ALTER TABLE
statement. |
AlterTableFinalStep |
renameTo(String newName)
Add a
RENAME TO clause to the ALTER TABLE
statement. |
AlterTableFinalStep |
renameTo(Table<?> newName)
Add a
RENAME TO clause to the ALTER TABLE
statement. |
@Support(value={AURORA_MYSQL,AURORA_POSTGRES,DB2,FIREBIRD,H2,HSQLDB,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,TERADATA}) AlterTableFinalStep comment(String comment)
@Support(value={AURORA_MYSQL,AURORA_POSTGRES,DB2,FIREBIRD,H2,HSQLDB,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,TERADATA}) AlterTableFinalStep comment(Comment comment)
@Support AlterTableFinalStep renameTo(Table<?> newName)
RENAME TO
clause to the ALTER TABLE
statement.@Support AlterTableFinalStep renameTo(Name newName)
RENAME TO
clause to the ALTER TABLE
statement.@Support AlterTableFinalStep renameTo(String newName)
RENAME TO
clause to the ALTER TABLE
statement.@Support AlterTableRenameColumnToStep renameColumn(Field<?> oldName)
RENAME COLUMN
clause to the ALTER TABLE
statement.@Support AlterTableRenameColumnToStep renameColumn(Name oldName)
RENAME COLUMN
clause to the ALTER TABLE
statement.@Support AlterTableRenameColumnToStep renameColumn(String oldName)
RENAME COLUMN
clause to the ALTER TABLE
statement.@Support(value={AURORA_MYSQL,AURORA_POSTGRES,DB2,H2,HSQLDB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,TERADATA}) AlterTableRenameIndexToStep renameIndex(Name oldName)
RENAME INDEX
clause to the ALTER TABLE
statement.@Support(value={AURORA_MYSQL,AURORA_POSTGRES,DB2,H2,HSQLDB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,TERADATA}) AlterTableRenameIndexToStep renameIndex(Index oldName)
RENAME INDEX
clause to the ALTER TABLE
statement.@Support(value={AURORA_MYSQL,AURORA_POSTGRES,DB2,H2,HSQLDB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,TERADATA}) AlterTableRenameIndexToStep renameIndex(String oldName)
RENAME INDEX
clause to the ALTER TABLE
statement.@Support AlterTableRenameConstraintToStep renameConstraint(Constraint oldName)
RENAME CONSTRAINT
clause to the ALTER TABLE
statement.@Support AlterTableRenameConstraintToStep renameConstraint(Name oldName)
RENAME CONSTRAINT
clause to the ALTER TABLE
statement.@Support AlterTableRenameConstraintToStep renameConstraint(String oldName)
RENAME CONSTRAINT
clause to the ALTER TABLE
statement.@Support(value={ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,DERBY,FIREBIRD,H2,HSQLDB,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA}) <T> AlterTableAlterStep<T> alter(Field<T> field)
@Support(value={ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,DERBY,FIREBIRD,H2,HSQLDB,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA}) AlterTableAlterStep<Object> alter(Name field)
@Support(value={ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,DERBY,FIREBIRD,H2,HSQLDB,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA}) AlterTableAlterStep<Object> alter(String field)
@Support(value={ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,DERBY,FIREBIRD,H2,HSQLDB,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA}) <T> AlterTableAlterStep<T> alterColumn(Field<T> field)
ALTER COLUMN
clause to the ALTER TABLE
statement.@Support(value={ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,DERBY,FIREBIRD,H2,HSQLDB,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA}) AlterTableAlterStep<Object> alterColumn(Name field)
ALTER COLUMN
clause to the ALTER TABLE
statement.@Support(value={ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,DERBY,FIREBIRD,H2,HSQLDB,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA}) AlterTableAlterStep<Object> alterColumn(String field)
ALTER COLUMN
clause to the ALTER TABLE
statement.@Support AlterTableFinalStep add(Field<?> field)
@Support(value={AURORA_MYSQL,AURORA_POSTGRES,FIREBIRD,H2,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,TERADATA}) AlterTableFinalStep add(FieldOrConstraint... fields)
ADD
clause with multiple columns or constraints to
the ALTER TABLE
statement.@Support(value={AURORA_MYSQL,AURORA_POSTGRES,FIREBIRD,H2,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,TERADATA}) AlterTableFinalStep add(Collection<? extends FieldOrConstraint> fields)
ADD
clause with multiple columns or constraints to
the ALTER TABLE
statement.@Support <T> AlterTableFinalStep add(Field<T> field, DataType<T> type)
ADD COLUMN
clause to the ALTER TABLE
statement.
This is an alias for addColumn(Field, DataType)
.
@Support AlterTableFinalStep add(Name field, DataType<?> type)
ADD COLUMN
clause to the ALTER TABLE
statement.
This is an alias for addColumn(Name, DataType)
.
@Support AlterTableFinalStep add(String field, DataType<?> type)
ADD COLUMN
clause to the ALTER TABLE
statement.
This is an alias for addColumn(String, DataType)
.
@Support(value={AURORA_POSTGRES,DB2,H2,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,TERADATA}) AlterTableFinalStep addIfNotExists(Field<?> field)
ADD COLUMN IF NOT EXISTS
clause to the ALTER TABLE
statement.
This is an alias for addColumnIfNotExists(Field)
.
@Support(value={AURORA_POSTGRES,DB2,H2,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,TERADATA}) <T> AlterTableFinalStep addIfNotExists(Field<T> field, DataType<T> type)
ADD COLUMN IF NOT EXISTS
clause to the ALTER TABLE
statement.
This is an alias for addColumnIfNotExists(Field, DataType)
.
@Support(value={AURORA_POSTGRES,DB2,H2,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,TERADATA}) AlterTableFinalStep addIfNotExists(Name field, DataType<?> type)
ADD COLUMN IF NOT EXISTS
clause to the ALTER TABLE
statement.
This is an alias for addColumnIfNotExists(Name, DataType)
.
@Support(value={AURORA_POSTGRES,DB2,H2,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,TERADATA}) AlterTableFinalStep addIfNotExists(String field, DataType<?> type)
ADD COLUMN IF NOT EXISTS
clause to the ALTER TABLE
statement.
This is an alias for addColumnIfNotExists(String, DataType)
.
@Support AlterTableFinalStep addColumn(Field<?> field)
ADD COLUMN
clause to the ALTER TABLE
statement.@Support <T> AlterTableFinalStep addColumn(Field<T> field, DataType<T> type)
ADD COLUMN
clause to the ALTER TABLE
statement.@Support AlterTableFinalStep addColumn(Name field, DataType<?> type)
ADD COLUMN
clause to the ALTER TABLE
statement.@Support AlterTableFinalStep addColumn(String field, DataType<?> type)
ADD COLUMN
clause to the ALTER TABLE
statement.@Support(value={AURORA_POSTGRES,DB2,H2,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,TERADATA}) AlterTableFinalStep addColumnIfNotExists(Field<?> field)
ADD COLUMN IF NOT EXISTS
clause to the ALTER TABLE
statement.@Support(value={AURORA_POSTGRES,DB2,H2,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,TERADATA}) <T> AlterTableFinalStep addColumnIfNotExists(Field<T> field, DataType<T> type)
ADD COLUMN IF NOT EXISTS
clause to the ALTER TABLE
statement.@Support(value={AURORA_POSTGRES,DB2,H2,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,TERADATA}) AlterTableFinalStep addColumnIfNotExists(Name field, DataType<?> type)
ADD COLUMN IF NOT EXISTS
clause to the ALTER TABLE
statement.@Support(value={AURORA_POSTGRES,DB2,H2,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,TERADATA}) AlterTableFinalStep addColumnIfNotExists(String field, DataType<?> type)
ADD COLUMN IF NOT EXISTS
clause to the ALTER TABLE
statement.@Support(value={ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA}) AlterTableUsingIndexStep add(Constraint constraint)
ADD CONSTRAINT
clause to the ALTER TABLE
statement.@Support(value={ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA}) AlterTableDropStep drop(Field<?> field)
@Support(value={ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA}) AlterTableDropStep drop(Name field)
@Support(value={ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA}) AlterTableDropStep drop(String field)
@Support(value={AURORA_POSTGRES,DB2,H2,MARIADB,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,TERADATA}) AlterTableDropStep dropIfExists(Field<?> field)
DROP COLUMN IF EXISTS
clause to the
ALTER TABLE
statement.
This is an alias for dropColumnIfExists(Field)
.
@Support(value={AURORA_POSTGRES,DB2,H2,MARIADB,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,TERADATA}) AlterTableDropStep dropIfExists(Name field)
DROP COLUMN IF EXISTS
clause to the
ALTER TABLE
statement.
This is an alias for dropColumnIfExists(Name)
.
@Support(value={AURORA_POSTGRES,DB2,H2,MARIADB,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,TERADATA}) AlterTableDropStep dropIfExists(String field)
DROP COLUMN IF EXISTS
clause to the
ALTER TABLE
statement.
This is an alias for dropColumnIfExists(String)
.
@Support(value={ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA}) AlterTableDropStep dropColumn(Field<?> field)
DROP COLUMN
clause to the ALTER TABLE
statement.@Support(value={ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA}) AlterTableDropStep dropColumn(Name field)
DROP COLUMN
clause to the ALTER TABLE
statement.@Support(value={ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA}) AlterTableDropStep dropColumn(String field)
DROP COLUMN
clause to the ALTER TABLE
statement.@Support(value={AURORA_POSTGRES,DB2,H2,MARIADB,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,TERADATA}) AlterTableDropStep dropColumnIfExists(Field<?> field)
DROP COLUMN IF EXISTS
clause to the ALTER TABLE
statement.@Support(value={AURORA_POSTGRES,DB2,H2,MARIADB,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,TERADATA}) AlterTableDropStep dropColumnIfExists(Name field)
DROP COLUMN IF EXISTS
clause to the ALTER TABLE
statement.@Support(value={AURORA_POSTGRES,DB2,H2,MARIADB,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,TERADATA}) AlterTableDropStep dropColumnIfExists(String field)
DROP COLUMN IF EXISTS
clause to the ALTER TABLE
statement.@Support(value={AURORA_MYSQL,AURORA_POSTGRES,FIREBIRD,H2,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,TERADATA}) AlterTableDropStep drop(Field<?>... fields)
DROP COLUMN
clause to the ALTER TABLE
statement.
This is an alias for dropColumns(Collection)
.
@Support(value={AURORA_MYSQL,AURORA_POSTGRES,FIREBIRD,H2,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,TERADATA}) AlterTableDropStep drop(Name... fields)
DROP COLUMN
clause to the ALTER TABLE
statement.
This is an alias for dropColumns(Collection)
.
@Support(value={AURORA_MYSQL,AURORA_POSTGRES,FIREBIRD,H2,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,TERADATA}) AlterTableDropStep drop(String... fields)
DROP COLUMN
clause to the ALTER TABLE
statement.
This is an alias for dropColumns(Collection)
.
@Support(value={AURORA_MYSQL,AURORA_POSTGRES,FIREBIRD,H2,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,TERADATA}) AlterTableDropStep dropColumns(Field<?>... fields)
DROP COLUMN
clause to the ALTER TABLE
statement.@Support(value={AURORA_MYSQL,AURORA_POSTGRES,FIREBIRD,H2,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,TERADATA}) AlterTableDropStep dropColumns(Name... fields)
DROP COLUMN
clause to the ALTER TABLE
statement.@Support(value={AURORA_MYSQL,FIREBIRD,H2,MARIADB,MYSQL,ORACLE,SQLDATAWAREHOUSE,SQLSERVER,TERADATA}) AlterTableDropStep dropColumns(String... fields)
DROP COLUMN
clause to the ALTER TABLE
statement.@Support(value={AURORA_MYSQL,FIREBIRD,H2,MARIADB,MYSQL,ORACLE,SQLDATAWAREHOUSE,SQLSERVER,TERADATA}) AlterTableDropStep drop(Collection<? extends Field<?>> fields)
DROP COLUMN
clause to the ALTER TABLE
statement.
This is an alias for dropColumns(Collection)
.
@Support(value={AURORA_MYSQL,AURORA_POSTGRES,FIREBIRD,H2,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,TERADATA}) AlterTableDropStep dropColumns(Collection<? extends Field<?>> fields)
DROP COLUMN
clause to the ALTER TABLE
statement.@Support(value={ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA}) AlterTableFinalStep drop(Constraint constraint)
DROP CONSTRAINT
clause to the ALTER TABLE
statement.@Support(value={ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA}) AlterTableFinalStep dropConstraint(Name constraint)
DROP CONSTRAINT
clause to the ALTER TABLE
statement.DSL.constraint(String)
@Support(value={ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA}) AlterTableFinalStep dropConstraint(String constraint)
DROP CONSTRAINT
clause to the ALTER TABLE
statement.DSL.constraint(String)
Copyright © 2019. All rights reserved.