|
|
|
|
Browse by Tags
All Tags » SQL Server » Transact SQL » Database Testin... » Database Programming (RSS)
-
Suppose that you need to implement the following logic:
IF(row exists)
Update the row
ELSE
Insert a new row.
If you already are on 2008, you should use MERGE command,
and you don’t need to read this post. Prior to 2008 this logic has to be
implemented using UPDATE and INSERT commands. I will stress test several ...
|
|
|
|
|