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
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
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
TCL is abbreviation of Transactional Control Language. It is used to manage different transactions occurring within a database.
Examples: COMMIT, ROLLBACK statements
Reference : Pinal Dave (https://blog.sqlauthority.com)
Maybe you can add also “Control-of-Flow Language” COFL?
BEGIN…END, RETURN, BREAK, THROW, CONTINUE, TRY…CATCH, GOTO label, WAITFOR, IF…ELSE, WHILE
very helpfull for all
1. How can select come in DML, when select is not doing any manipulation of data unlike update,insert delte
Select comes under –DQL [data query language]
i appreciate your help for us.. its really very help full,
i m a beginner, and i hope u will help out my my doubts,
thnx once again…
Thanks for reading.
hi dude …I have one doubt …in sql I have create a one table …unfortunately that table has been deleted …if any command is there to recover that table..
There are third party tools which can read transaction log and recover the structure and data. Read my earlier blog https://blog.sqlauthority.com/2014/06/09/sql-server-how-to-recover-sql-database-data-deleted-by-accident/
Does WQL (WMI Query Lanquage) is part of DML,DR,DQL or is it a specific family of query syntax ?
WQL is not part of SQL Server Engine. Its query to find details from WMI.
how to use DCL commands, means how to implement Grant and Revoke??????????????????
what is meant by schema object in oracle sql
what is different between dml and ddl?
what is the difference between DML and DQL?
is data communication language DCL is type of SQL language ?
SELECT statement can not be called as Data Manipulation Statement.
It can be come under Data Retrieval Language [ DRL ] Statement
Is TCL(Transaction Control Language) and T-SQL(TRANSACT SQL) Same…?
As mentioned in the article above,TCL ‘is used to manage different transactions occurring within a database’.
T-SQL is different thing, it is a set of programming extensions from Sybase and Microsoft that add several features to the Structured Query Language (SQL), including transaction control, exception and error handling, row processing and declared variables(To put it simply, T-SQL provide us queries for many complex operations on database).We can use T-SQL with SQL-server database but not with every other database. Oracle’s equivalent to T-SQL is PL/SQL, or Procedural Language/SQL.