How to test an SQL Update statement before running it?

前端 未结 9 1225
野趣味
野趣味 2020-12-23 20:29

In some cases, running an UPDATE statement in production can save the day. However a borked update can be worse than the initial problem.

Short of using a test datab

9条回答
  •  粉色の甜心
    2020-12-23 20:39

    Run select query on same table with all where conditions you are applying in update query.

提交回复
热议问题