Purpose of this study is to treat glucocorticoid induced hyperglycemia due to glucocorticoid pulse therapy in a efficacious, safe and convenient way. Patients with acute exacerbation of COPD treated with glucocorticoid pulse therapy and at high risk for glucocorticoid induced hyperglycemia (defined as known type 2 DM or glucose > 10mmol/l at admission) will be randomized to treatment of dapagliflozin or placebo orally, once daily.