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

You need to delete a database table.
Which data definition language (DDL) keyword should you use?

You need to delete a database table.
Which data definition language (DDL) keyword should you use?

A.
ALTER

B.
DELETE

C.
DROP

D.
TRUNCATE



Leave a Reply 4

Your email address will not be published. Required fields are marked *


Pawan Chhangani

Pawan Chhangani

DDL — create, alter, drop, truncate, rename

C and D is both the correct answer

MTAinHalfAnHour

MTAinHalfAnHour

@Pawan Chhangani, D is incorrect. The question asks you about deleting an object.

jaspreet

jaspreet

right answer is c, trunate deallocate the data(empty for reuse) from table, so table is there but no data, as all data will be deleted, but in this question it is asking for deleting table, not just data

Jain

Jain

C
Truncate only deletes the data. Drop deletes the table.