Type 2 diabetes primarily occurs as a result of obesity and lack of exercise. Some people are more genetically at risk than others. Type 2 diabetes makes up about 90% of cases of diabetes, with the other 10% due primarily to diabetes mellitus type 1 and gestational diabetes. In diabetes mellitus type 1 there is a lower total level of insulin to control blood glucose, due to an autoimmune induced loss of insulin-producing beta cells in the pancreas. Diagnosis of diabetes is by blood tests such as fasting plasma glucose, oral glucose tolerance test, or glycated hemoglobin (A1C).
^ Jump up to: a b c d GBD 2015 Disease and Injury Incidence and Prevalence, Collaborators. (8 October 2016). "Global, regional, and national incidence, prevalence, and years lived with disability for 310 diseases and injuries, 1990–2015: a systematic analysis for the Global Burden of Disease Study 2015". The Lancet. 388 (10053): 1545–1602. doi:10.1016/S0140-6736(16)31678-6. PMC 5055577. PMID 27733282.
Patients need to ensure that their blood glucose levels are kept as normal as possible so that delicate tissues in the body (especially blood vessels in the eyes, kidneys and peripheral nerves) are not damaged by high glucose levels over a long period of time. To achieve this, patients need to measure their glucose regularly and learn how to adjust their insulin doses in order to optimise their glucose levels (diabetes control). Good diabetes control helps to minimise the risk of long-term diabetes complications, as well as short-term symptoms (such as thirst).
The notion is understandable. Blood sugar levels are high in diabetes, so a common idea has held that eating sugar somehow triggers the disease process. However, the major diabetes organizations take a different view. The American Diabetes Association1 and Diabetes UK2 have labelled this notion a “myth,” as has the Joslin Diabetes Center,3 which wrote, “Diabetes is not caused by eating too much sugar.” These and other organizations have worked to educate people about the causes of diabetes and the role that foods play in the disease process.
Many people, especially those with type 2 diabetes, are overweight or obese. Some people with type 2 diabetes may be able to avoid or delay the need to take drugs by achieving and maintaining a healthy weight. Weight loss is also important in these people because excess weight contributes to complications of diabetes. When people with diabetes have trouble losing weight with diet and exercise alone, doctors may give weight-loss drugs or recommend bariatric surgery (surgery to cause weight loss).
Type 2 diabetes was also previously referred to as non-insulin dependent diabetes mellitus (NIDDM), or adult-onset diabetes mellitus (AODM). In type 2 diabetes, patients can still produce insulin, but do so relatively inadequately for their body's needs, particularly in the face of insulin resistance as discussed above. In many cases this actually means the pancreas produces larger than normal quantities of insulin. A major feature of type 2 diabetes is a lack of sensitivity to insulin by the cells of the body (particularly fat and muscle cells).
Autonomic changes involving cardiovascular control (eg, heart rate, postural responses) have been described in as many as 40% of children with diabetes. Cardiovascular control changes become more likely with increasing duration and worsening control.  In a study by 253 patients with type 1 diabetes (mean age at baseline 14.4 y), Cho et al reported that the prevalence of cardiac autonomic dysfunction increases in association with higher body mass index and central adiposity. 
If you have type 2 diabetes and your body mass index (BMI) is greater than 35, you may be a candidate for weight-loss surgery (bariatric surgery). Blood sugar levels return to normal in 55 to 95 percent of people with diabetes, depending on the procedure performed. Surgeries that bypass a portion of the small intestine have more of an effect on blood sugar levels than do other weight-loss surgeries.
The ADA recommends using patient age as one consideration in the establishment of glycemic goals, with different targets for preprandial, bedtime/overnight, and hemoglobin A1c (HbA1c) levels in patients aged 0-6, 6-12, and 13-19 years.  Benefits of tight glycemic control include not only continued reductions in the rates of microvascular complications but also significant differences in cardiovascular events and overall mortality.
Treatment of high blood pressure and high cholesterol levels, which can contribute to circulation problems, can help prevent some of the complications of diabetes as well. A low dose of aspirin taken daily is recommended in people with risk factors for heart disease. All people with diabetes who are between 40 and 75 years are given a statin (a drug to decrease cholesterol levels) regardless of cholesterol levels. Younger people with an elevated risk of heart disease should also take a statin .
ORAL GLUCOSE TOLERANCE TEST. Blood samples are taken from a vein before and after a patient drinks a thick, sweet syrup of glucose and other sugars. In a non-diabetic, the level of glucose in the blood goes up immediately after the drink and then decreases gradually as insulin is used by the body to metabolize, or absorb, the sugar. In a diabetic, the glucose in the blood goes up and stays high after drinking the sweetened liquid. A plasma glucose level of 11.1 mmol/L (200 mg/dL) or higher at two hours after drinking the syrup and at one other point during the two-hour test period confirms the diagnosis of diabetes.
The definition of a genetic disease is a disorder or condition caused by abnormalities in a person's genome. Some types of genetic inheritance include single inheritance, including cystic fibrosis, sickle cell anemia, Marfan syndrome, and hemochromatosis. Other types of genetic diseases include multifactorial inheritance. Still other types of genetic diseases include chromosome abnormalities (for example, Turner syndrome, and Klinefelter syndrome), and mitochondrial inheritance (for example, epilepsy and dementia).
The problem with sweetened drinks is that, due to their liquid form, they’re among the fastest simple carbs to be digested in the body, causing blood sugar levels to spike even more than a simple carb in solid-food form would. Research supports this idea: A review published in November 2010 in the journal Diabetes Care suggested adding only one serving of a sweetened beverage to your diet may increase your risk for type 2 diabetes by 15 percent.
Abnormal cholesterol and triglyceride levels. If you have low levels of high-density lipoprotein (HDL), or "good," cholesterol, your risk of type 2 diabetes is higher. Triglycerides are another type of fat carried in the blood. People with high levels of triglycerides have an increased risk of type 2 diabetes. Your doctor can let you know what your cholesterol and triglyceride levels are.