Examveda

In SQL, which of the following is not a data definition language commands?

A. RENAME

B. REVOKE

C. GRANT

D. UPDATE

Answer: Option D

Solution (By Examveda Team)

RENAME: - With RENAME statement you can rename a table.
REVOKE: - The REVOKE command removes user access rights or privileges to the database objects.
GRANT: - In SQL GRANT is a command used to provide access or privileges on the database objects to the users.
UPDATE: - The UPDATE Statement is used to modify the existing rows in a table.

RENAME, REVOKE and GRANT are DDL(Data Definition Language) commands and UPDATE is DML(Data Manipulation Language) command.


This Question Belongs to SQL >> Sql Miscellaneous

Join The Discussion

Comments (14)

  1. Jeelan Fakruddin
    Jeelan Fakruddin:
    3 months ago

    revoke and grant is DCL (Data control language)

    correct the question

  2. Bhawna Wadhwa
    Bhawna Wadhwa:
    9 months ago

    R/Sir

    Plz Check the answers.
    Revoke & Grant are DCl Command.
    Update DML
    So the questions should be
    Which is the DDL Command
    Ans RENAME

    Sir you are requested to correct the questions

  3. THARUN .K
    THARUN .K:
    3 years ago

    The question is some what different comparing with options

  4. Yogesh Surjha
    Yogesh Surjha:
    3 years ago

    your question framing is misleading, asking for which command is not the part of DDL? and all options are not from DDL, it makes my selection wrong.

  5. Pankaj Jagdale
    Pankaj Jagdale:
    3 years ago

    only rename is ddl command, wrong question

  6. Shubham Amrutkar
    Shubham Amrutkar:
    3 years ago

    Grant and Revoke are the database control language(or controler)
    Therefore answer is Rename

  7. ANKITA JHA
    ANKITA JHA:
    4 years ago

    Revoke and grant are DCL commands not DDL

  8. Veera Reddy
    Veera Reddy:
    7 years ago

    Do you mean to say dcl commands also part of DDL? I think it is not..

  9. Ankur Singh
    Ankur Singh:
    8 years ago

    Hello revoke and grant basically use in DCL

  10. Amar Raj
    Amar Raj:
    8 years ago

    RENAME -DDL
    GRANT,REVOKE-DCL
    UPDATE-DML

  11. Manisha Mishra
    Manisha Mishra:
    8 years ago

    the answer is wrong since GRANT and REVOKE are DCL command not DDL command. and UPDATE is DML command. so the answer has to be GRANT,REVOKE,UPDATE.

  12. Prashant Mudaliar
    Prashant Mudaliar:
    8 years ago

    The solution is wrong.

    Rename is DDL.
    Revoke and Grant are DCL(Data Control Language) commands
    Update is DML

  13. Subhankar Patra
    Subhankar Patra:
    9 years ago

    Grant is also DCL .....

  14. Prince Yadav
    Prince Yadav:
    9 years ago

    but revoke is the dcl command that is used to removes user access rights or privileges to the database objects.

Related Questions on Sql Miscellaneous