DML, DDL, DCL, TCL in SQL Server

Different Types of Sql Statements:-
 
DML
DML is abbreviation of Data Manipulation Language. It is used to retrieve, store, modify, delete, insert and update data in database.
Examples: SELECT, UPDATE, INSERT statements
Select :- This Sql Statement is used to extract the data from one or combination of tables
Update:- This Sql Statement is used to update the data in a database table.
Delete:- This Sql Statement is used to delete data from the database table.
Insert Into :- This Sql Statement is used to insert data into a database(table)
DDL
DDL is abbreviation of Data Definition Language. It is used to create and modify the structure of database objects in database.
Examples: CREATE, ALTER, DROP statements
Create Table:- This Sql Statements is used to create a Table
Alter Table:- This Sql Statement is used to Alter the table definition like adding any columns or deleting any table column.
Drop table:- This Sql Statement is used to Drop the table.
Create Index:- This Sql Statement is used to Create a Index on a table
Drop Index:- This Sql Statement is used to drop a table from the table
DCL
 
DCL is abbreviation of Data Control Language. It is used to create roles, permissions, and referential integrity as well it is used to control access to database by securing it.
Examples: GRANT, REVOKE statements
Grant :- This Sql Statement is used to give access rights to the user for the database
Revoke:- This Sql Statement is used to revoke or delete the access rights of some of the users for a given database.
TCL
 
TCL is abbreviation of Transactional Control Language. It is used to manage different transactions occurring within a database.
Examples: COMMIT, ROLLBACK statements
Commit:- This command is used to save the work done by the user.
Rollback:-  This command is used to delete the data till the last committed state of the database.

About vivekjohari

Database Consultant with more than 11.5 years of experience in database designing & programming and DBA related activities.  Had good experience on different databases like SQL Server, MySQL & Oracle, Azure SQL &  Big Data.
This entry was posted in SQL DDL, DML, DCL, TCL, SQL Server and tagged . Bookmark the permalink.

32 Responses to DML, DDL, DCL, TCL in SQL Server

  1. Pingback: Dentist in sugar land Texas

  2. Pingback: magnetic wallpaper

  3. Pingback: where to buy art in nyc

  4. Pingback: Human Resources

  5. Pingback: 25dollar1up, make money fast, make money online fast, make money online,

  6. Pingback: lamps

  7. Pingback: 바카라사이트

  8. Pingback: scr888

  9. Pingback: link fun88 moi nhat

  10. Pingback: w88club

  11. Pingback: http://edukacjapoliceum.pl/angielski-na-medal-czesc-2-606.php

  12. Pingback: شركة تنظيف فلل بالرياض

  13. Pingback: link centralqq

  14. Pingback: social impact marketing

  15. Pingback: Tow Truck service Lawrenceville ga

  16. Pingback: should cbd have a taste?

  17. Pingback: Dream Market

  18. Pingback: Crystal Meth Shop

  19. Pingback: Dream Market

  20. Pingback: Nightmare Market

  21. Pingback: knockoff panerai pam 333

  22. Pingback: Apollon Market Exit Scam

  23. Pingback: The Majestic Garden Exit Scam

  24. Pingback: Drogen kaufen

  25. Pingback: Digital Income System

  26. Pingback: m88asia

  27. Pingback: pelangiqq

  28. Pingback: same-day emergency dentistry services

  29. Pingback: hondaqq1

  30. Pingback: www.1mainqq.site

  31. Pingback: กังนัม คลินิก

  32. Pingback: qiuqiu99

Leave a Reply