drop table in sql code example
Example 1: drop table in mysql
DROP TABLE table_name;
Example 2: query to empty table data in sql server
TRUNCATE TABLE table_name;
Example 3: sql drop table
-- Drop, but no space gain
DROP TABLE table_name;
-- Really frees space (Oracle)
DROP TABLE table_name PURGE;
Example 4: sql delete table
Deletes a table from a database.
Example: Removes the users table.
DROP TABLE users;
Example 5: delete table
DROP TABLE table_name;