State some commands of DDL in DBMS ?

devquora
devquora

Posted On: Feb 22, 2018

 

DDL commands are used to modify and edit the structure of a database system. Some of the important commands are-

  1. CREATE table command- It defines each column of the table in a unique and distinct manner like name, data type, size, etc.

    Syntax: CREATE TABLE [column name] ([column definitions]) [table parameters]

  2. ALTER table command- ALTER is used to make changes and edit the existing table of database. Syntax: ALTER objecttype objectname parameters.

  3. DROP table command – DROP is used for destroying a table and all the recorded data in it. It destroys an existing database.  Syntax: DROP objecttype objectname parameters.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    DBMS Interview Questions

    What is DBMS?

    DBMS (Database Management System) is a computer software application that allows users and other applications to view,..

    DBMS Interview Questions

    Enlist various types of interactions created by DBMS ?

    There are various kinds of interactions supported by DBMS like- Data definition Update Retrieval Administration..

    DBMS Interview Questions

    What are the features of Database language?

    Database language is used to create and store data in computer system. DBMS itself is one of the features of database l..