This longitudinal cohort study will compare the effectiveness of the Roux-en-Y gastric bypass and Adjustable Gastric Banding on glycemic control in type 2 diabetes and explore the responsible mechanisms.