NoteClick here to go to documentation for the latest version of YugaByte DB.
DROP TABLE statement removes a table and all of its data from the database.
drop_table ::= DROP TABLE qualified_name;
qualified_nameis a (possibly qualified) identifier.
- An error is raised if the specified
table_namedoes not exist.
- Associated objects to
table_namesuch as prepared statements will be eventually invalidated after the drop statement is completed.