DML – Data manipulation language – SQL SERVER
Posted on : 27-06-2011 | By : Devi Prasad | In : SQL Server Basics, SQLServerPedia Syndication
0

DML
Abbreviation: Data manipulation language
DML is used to insert, update, delete and select records from a table.
DML Statements change the data in the database but does not effect the structure of the objects.
DML Statements are transaction controlled, they can be committed or rolled back in a transaction.
What can DDL Statements Do?
Following are the DML Statements:
- Select
- Insert
- Update
- Delete
Example:
[sql]SELECT * FROM EMPLOYEE[/sql]
The above query gives the result set which contains all the records in the table
[sql]INSERT INTO EMPLOYEE VALUES (3,’Ram’)[/sql]
The above query inserts one record into employee table, employee number as 3 and name as Ram.
[sql]
UPDATE EMPLOYEE SETNAME = ‘PAUL’ WHERE EMPLOYEEID = 2
[/sql]
The above query updates the employee name of the employee with employee id as 3 to PAUL
Reference : Devi Prasad (sqlserverlearner.com)
Do you like my blog?
If you liked reading this blog, please help spread the word by sharing this blog with your friends.
Need Help On SQL Server?
Cannot Find Solution to your problem (or) If you are looking for some help on SQL Server. Dont worry Click Here to Post your question and solve your issue.

Tags: DML SQL SERVER, EXAMPLES OF DML COMMANDS SQL SERVER, HOW TO USE DML COMMANDS SQL SERVER, LIST OF DML COMMANDS SQL SERVER, WHAT ARE DML COMMANDS SQL SERVER, WHAT IS DML SQL SERVER