August 2016
Intermediate to advanced
464 pages
15h 32m
English
SQL has a set of statements known as Data Manipulation Language (DML) that deals with data manipulation. Some people think that DML involves only data modification, but it also involves data retrieval. DML includes the statements SELECT, INSERT, UPDATE, DELETE, TRUNCATE, and MERGE. So far I’ve focused on the SELECT statement. This chapter focuses on data-modification statements. In addition to covering standard aspects of data modification, I’ll also cover aspects specific to T-SQL.
To avoid changing existing data in your sample database, most of the examples in this chapter create and populate new tables in the dbo schema in the TSQLV4 database.
T-SQL provides several statements for inserting data ...
Read now
Unlock full access