How do I delete a table in DB2?

Lò Ngọc

New member
How do I delete a table in DB2?
Answer
Procedure
  1. To drop a table, use a DROP TABLE statement. The following statement drops the table that is called DEPARTMENT: DROP TABLE DEPARTMENT.
  2. To drop all the tables in a table hierarchy, use a DROP TABLE HIERARCHY statement. The DROP TABLE HIERARCHY statement must name the root table of the hierarchy to be dropped.
 

Tìm kiếm

Back
Top