Jump to content

update on duplicate in mssql


stockton

Recommended Posts

As Mchl said, UPDATE INTO (or the longer INSERT INTO  ON DUPLICATE....) is MySQL specific, and as far as I know, nothing like it exists in MSSQL.

 

 

You can either use two queries, or you can use a stored procedure.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.