98-364 Exam QuestionsBrowse all questions from this exam

98-364 Exam - Question 99


You need to delete a database table.

Which data definition language (DDL) keyword should you use?

Show Answer
Correct Answer: C

To delete a database table, the correct data definition language (DDL) keyword to use is DROP. The DROP command removes the table definition and all of its contents from the database entirely. ALTER is used to modify an existing database object, DELETE removes rows from a table but does not delete the table itself, and TRUNCATE removes all rows from a table but keeps the table structure intact.

Discussion

6 comments
Sign in to comment
NicoIT
May 13, 2020

The answer is C. TRUNCATE does not remove a table: it deletes all the rows of that table, leaving the object (the table) in the database.

julie2020
Jul 16, 2020

But it’s says you need to delete a table so I feel like drop is the correct answer... If it’s say you need to delete data then truncate ...

goodidea
Aug 14, 2020

drop is correct

Garyours
Sep 10, 2020

Drop is the correct answer

Mirela_Rona
Mar 1, 2021

the answer is drop.

betamalon
May 2, 2020

The answer is D

WildRubis
Jan 17, 2021

No xD?

defcon1Option: C
Nov 30, 2021

C. DROP is correct