How does the data in a database in the field get upgraded because a new version of the software is being released? For an example, consider look up data. Usually the look up data associates an ID (number) to a name (string) and then this ID is referenced in other tables instead of the the ID directly (i.e. normalized). There are other types data that can be upgraded too.
In my experience the answer to this question is "with difficulty". Are there any tools that can assist in creating data upgrade scripts? For example, I use Toad's schema compare tool to generate schema upgrade scripts but it does not do the data. Would an ORM tool help here? What other ways are there to achieve this?