Posts Tagged ‘merge’

SQL Server 2008 MERGE

July 31, 2009 - 10:11 pm 1 Comment

Common data scenarios require developers to write and maintain logic to determine whether to insert, update or delete information (sometimes called upsert) such as:
IF FOUND
THEN UPDATE
ELSE
INSERT
SQL Server 2008 provides the new MERGE statement within the SQL language to enable developers to provide this functionality with a single statement. This allows for code reduction and easier maintainability.

Duration : 0:3:28

(more…)