Interview Preparation mode beta
Funny Facebook Status Funny Facebook Status
Enter your email address

What is a DDL, DML and DCL concept in RDBMS world, in MS SQL Server?

Nice?Vote!
asked 1 year ago in SQL Server Interview Questions and Answers by R (19,530 points) edited 1 year ago by R

1 Answer

Nice?Vote!
DDL (Data definition language) defines our database structure. CREATE and ALTER are DDL statements as they affect the way our database structure is organized.
DML (Data Manipulation Language) lets we do basic functionalities like INSERT, UPDATE, DELETE and MODIFY data in database.
DCL (Data Control Language) controls you DML and DDL statements so that your data is protected and has consistency. COMITT and ROLLBACK are DCL control statements. DCL guarantees ACID fundamentals of a transaction.
answered 1 year ago by anonymous

Related questions