Answer by Jack Corbett ·
DML stands for Data Manipulation Language so any statement that manipulates data would be DML, like SELECT, INSERT, UPDATE, DELETE, and MERGE.
Another type of T-SQL statements are DDL (Data Definition Language) and this is where you define the structures for your data like CREATE, ALTER, DROP.
A third type would be Access Control which would be things like GRANT, REVOKE, DENY. I don't think these fit in DML or DDL.
Answer by Matt Whitfield ·
DML stands for 'Data Manipulation Language' and covers all T-SQL statements that retrieve, store or modify data.
DDL is the other main category, and stands for 'Data Definition Language'. This covers T-SQL statements that modify objects in the schema.
Edit -> thought i should mention the other categories, as Jack did.
You have DCL - 'Data Control Language' - which as Jack says is to do with data security.
Then you have TCL - 'Transaction Control Language' - which are statements to do with opening and closing transactions.