I have a MSSQL database that has a 'settings' table with more than 500 rows. I want to generate a script of UPDATE commands including all the data. This will run against an existing database, and the data will replace what is currently in the table.
I have attempted to use the answer found here: How to export all data from table to an insertable sql format? but I get INSERT statements, which won't work.
I cannot drop and re-create the table, because it has foreign keys.
Disclaimer: I did not design this. I wouldn't put foreign keys on settings.