Writing SQL

Using the INSERT Statement

How to use an INSERT statement to add records to a table in SQL Server. We will begin with just a simple INSERT statement that will add one row into the table.


IDENTITY Columns

How to use IDENTITY columnsĀ in a table. An IDENTITY field is very similar to an auto-number field, where the number will automatically be added as each record is inserted.



DML Triggers

Working with Triggers in SQL Server. How to use triggers for data manipulation statements (DML) like INSERT, UPDATE, and DELETE.


The OUTPUT Clause

How to use the output clause with Data Manipulation Language (DML) statements like INSERT, UPDATE, and DELETE.