If Exists Update Else Insert
Code Title: If Exists Update Else Insert
Language: SQL Server
Version: 2000
Database: MS SQL
Description:
Language: SQL Server
Version: 2000
Database: MS SQL
Description:
This is a very common practice when performing some validation before inserting the data to avoid duplicates. Below is the example.
Added: 10/31/2008Code
|