Archive

Category Archives for "Data Modification"

What is the Difference Between Merge and Update?

When modifying one table based on the contents of another it may be tempting to simply use the merge statement, but before you throw away all other forms of modifying data, I think it’s important for you to know the difference between merge and update. What is the Difference Between MERGE and UPDATE? Both the […]

Continue reading

Introduction to the Merge Statement

Introduction to the MERGE Statement and SQL Server Data Modification The MERGE statement is used to make changes in one table based on values matched from anther.   It can be used to combine insert, update, and delete operations into one statement.  In this article, we’ll explore how to use the MERGE statement.  We discuss some […]

Continue reading

Introduction to the Delete Statement

DELETE Statement

The DELETE statement is used to remove rows from a SQL Server data table.  In this article we’ll explore how to use the DELETE statement.  We discuss some best practices, limitations, and wrap-up with several examples. This is the fourth article in a series of articles.  You can start at the beginning by reading Introduction to […]

Continue reading

Introduction to the UPDATE statement

The UPDATE statement is used to change data within columns of a SQL Server data table.  In this article we’ll explore how to use the UPDATE statement.  We discuss some best practices, limitations, and wrap-up with several examples. This is the third article in a series of articles.  You can start at the beginning by […]

Continue reading

Introduction to the INSERT Statement using SQL Server

INSERT Statement

The INSERT statement is used to add rows to a SQL Server data table.  In this article we’ll explore how to use the INSERT statement.  We discuss some best practices, limitations, and wrap-up with several examples. This is the second article in a series of articles.  The first is entitled Introduction to SQL Server Data […]

Continue reading