Writing SQL is has very little in common with writing application code. Refactoring SQL has nothing in common with writing application code. Good object-oriented refactoring techniques frequently cause problems with SQL. This talk covers tried and true methods for refactoring SQL.