Chapter 4. Querying and Modifying Data
In Chapter 2, "Elements of Transact-SQL," you learned the basics of all the statements that make up the Data Manipulation Language (DML), which are used to interact with the information stored in the database. Moreover, these four elements of the DML (SELECT, INSERT, UPDATE, and DELETE ) are the core of database programming.
This chapter teaches you the following:
The components and syntax of the SELECT statement
How to insert data in the database using the INSERT statement
How to create a table and populate it on-the-fly from result sets
How to modify data through the UPDATE statement
How the data is removed using the DELETE statement
Get Microsoft® SQL Server™ 2000 Programming by Example now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.