O'Reilly logo

Microsoft® SQL Server™ 2000 Programming by Example by Carlos Eduardo Rojas, Fernando G. Guerrero

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Data Manipulation Language (DML)

The Data Manipulation Language (DML) is the most commonly used component of Transact-SQL by database developers. Basically, it is used to retrieve, insert, modify, and delete information from databases. These four operations are performed through the commands that compose the DML, respectively:

  • SELECT

  • INSERT

  • UPDATE

  • DELETE

Therefore, any application or client who wants to interact with SQL Server to retrieve, insert, modify, or delete information has to do it through one of these four elements of the Transact-SQL DML.

Listing 2.8 shows a basic example of each one of the four statements that comprise the Data manipulation language (DML).

Code Listing 2.8. Using the DML to Interact with the Database
					 USE Northwind ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required