sql: DELETE + INSERT vs UPDATE + INSERT

后端 未结 7 1670
花落未央
花落未央 2021-01-19 02:29

A similar question has been asked, but since it always depends, I\'m asking for my specific situation separately.

I have a web-site page that shows some data that co

7条回答
  •  清酒与你
    2021-01-19 03:16

    One approach to handling this type of problem is to insert into new table, then do a table Rename. This will insure that all new data is present at the same time.

提交回复
热议问题