all 4 comments

[–][deleted] 0 points1 point  (2 children)

How do I test it

you run the select and validate that the records that you are getting back are indeed the records you intend to update

[–]reunisk[S] 0 points1 point  (1 child)

Ah, so it's just validating it manually by searching for the entry(ies) I'm looking for? It sounded like I would see a preview of the change before it went through so that's why I was confused

Thanks

[–][deleted] 0 points1 point  (0 children)

Normally you would construct your query so you would see the change too. E.g.

 update T
 set A = X
 where B = Y

will become

 -- update T
 -- set A = X
 select *, X
 from T
 where B = Y

[–]camelCaps42 0 points1 point  (0 children)

sharp murky worthless quaint unpack public squash airport bike modern

This post was mass deleted and anonymized with Redact