Well, I just used ChatGPT to make my SQL code idempotent. Crazy.

Reply to this note

Please Login to reply.

Discussion

And how did it go?

It actually updated my code really well. I didn't even consider using a MERGE as a replacement for INSERT statements to make it idempotent.