ChatGPT is a truly incredible tool for refactoring code. I'm using it to modernize and refactor SQL statements. Most of this is easy to do, but time consuming. Giving it a list of rules I want it to follow and then pasting it SQL.