Data migration how-to: Creating procedures