 |
If Row Exists Update, Else Insert in SQL Server
A user mailed me a block of C# code that updated a row if it existed and inserted, if the row was new. He wanted the same code to be done in SQL Server as well. If you too have a similar requirement, then here’s a sample query for you: CREATE PROCEDURE us
www.sqlservercurry.com |
 |