The invention relates to benzothiazines derivatives of common formula (I) having capability of inhibitting 11&bgr;-HSD1; pharmaceutical compositions thereof, and application thereof for prevention and treatment of type II diabetes, obesity and other diseases.