Quantcast
Channel: Microsoft SQL Server
Viewing all articles
Browse latest Browse all 4871

INSERT or CREATE record in SQL Server database

$
0
0

I have this SQL Server table structure:

MyTable(KEY, datafield1, datafield2...)

And now I have to update an existing record / create a new one if it doesn't appear. What's the best way to do that?


Viewing all articles
Browse latest Browse all 4871

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>