public class DropTableCommand extends DropCommand
DROP TABLE
command. One can't drop SYSTEM_TABLE or VIEW using this
command. To drop view use DROP VIEW viewname
Constructor and Description |
---|
DropTableCommand(java.lang.String tableName,
boolean exists,
boolean cascade) |
Modifier and Type | Method and Description |
---|---|
boolean |
execute(Database db)
Executes an SQL statement that may return multiple results.
|
executeQuery, executeUpdate, getObjectName, isCascade, isIfExists, setCascade, setIfExists, setObjectName
assertNotReadOnly, attemptToConvertValue, bindAll, buildBindVariables, clearBindings, createResolveSelectableVisitor, executeQuery, getBindVariableIterator, getBindVariableIterator, getBindVariables, getBindVariableVisitor, getColIdentifierList, getCommitSize, getEffectedRowCount, getResultSet, getRowIterator, makeRowDecorator, populateDefaultValues, populateSequenceColumns, resolveGeneratedColumns, resolveGeneratedColumns, resolveSelectable, resolveSelectable, resolveSelectableList, resolveSelectableList, setBindVariableVisitor, setDeferAllConstraintIfRequired, setEffectedRowCount, setResultSet, updateGeneratedValues
public DropTableCommand(java.lang.String tableName, boolean exists, boolean cascade)
public boolean execute(Database db) throws AxionException
AxionCommand
execute
in interface AxionCommand
execute
in class DropCommand
ResultSet
s were generated,
false otherwiseAxionException
Statement.execute(java.lang.String)
,
PreparedStatement.execute()