Refactoring Databases - Evolutionary Database Design

Split Temporary Variable

Make a separate temporary variable for each assignment.



More on refactoring.com

For more information see page 292 of Database Refactoring