The aims of this study is to observe the levels of serum 25-hydroxyvitaminD (25OHD), parathyroid hormone and bone mineral density (BMD) in type 2 diabetes as well as to analyze the correlationship between 25OHD level and BMD. Here, PTH is linked to type 2 diabetes mellitus.