Computer Science

Which of the following is not a DDL command ?

  1. UPDATE
  2. TRUNCATE
  3. ALTER
  4. None of these

DDL & DML

3 Likes

Answer

UPDATE

Reason — Data Definition Language (DDL) statements are used to define, modify, and delete database objects such as tables, views, indexes, etc. The DDL commands are CREATE, ALTER, TRUNCATE, DROP etc. But the UPDATE command is Data Manipulation Language (DML) command, used to modify existing data in a table.

Answered By

3 Likes


Related Questions