Single Choice Easy

QWhich DDL statement is used to modify the data type of an existing column in MySQL?

ID: #15456 DDL - Data Definition Language 96 views
Question Info
#15456Q ID
EasyDifficulty
DDL - Data Definition LanguageTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A ALTER TYPE
  • B MODIFY COLUMN
  • C UPDATE TYPE
  • D CHANGE COLUMN
Correct Answer

Explanation

The MODIFY COLUMN statement in MySQL is used to modify the data type of an existing column in a table. It allows you to change the data type while preserving the column's name and other attributes.

Share This Question

Challenge a friend or share with your study group.