Most DBs have a dump utility that will produce a plain text file as output. These can then be diff'd in the usual ways.
Start with a known state -- eg. empty -- and use the existing script to perform a range of inserts updates and deletes. Dump the result and call it the reference.
Start with the same known state, use the refactored script to perform the same operations and dump the result. Diff the two dumps.
In reply to Re: Testing database updates.
by BrowserUk
in thread Testing database updates.
by chrestomanci
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |