Dietary factors also influence the risk of developing type 2 DM. Consumption of sugar-sweetened drinks in excess is associated with an increased risk.[46][47] The type of fats in the diet is also important, with saturated fat and trans fats increasing the risk and polyunsaturated and monounsaturated fat decreasing the risk.[45] Eating lots of white rice, and other starches, also may increase the risk of diabetes.[48] A lack of physical activity is believed to cause 7% of cases.[49]
Diabetes insipidus is considered very rare in less 20,000 cases diagnosed per year. Diabetes mellitus is more common, with type 2 diabetes being more common than type 1. There are more than 3 million cases of type 2 diabetes. Unlike diabetes mellitus, diabetes insipidus is not treated by controlling insulin levels. Depending on your symptoms, your doctor may prescribe a low-salt diet, hormone therapy, or have you increase your water intake. 
Injections of insulin may either be added to oral medication or used alone.[24] Most people do not initially need insulin.[13] When it is used, a long-acting formulation is typically added at night, with oral medications being continued.[23][24] Doses are then increased to effect (blood sugar levels being well controlled).[24] When nightly insulin is insufficient, twice daily insulin may achieve better control.[23] The long acting insulins glargine and detemir are equally safe and effective,[98] and do not appear much better than neutral protamine Hagedorn (NPH) insulin, but as they are significantly more expensive, they are not cost effective as of 2010.[99] In those who are pregnant insulin is generally the treatment of choice.[23]
Manage mild hypoglycemia by giving rapidly absorbed oral carbohydrate or glucose; for a comatose patient, administer an intramuscular injection of the hormone glucagon, which stimulates the release of liver glycogen and releases glucose into the circulation. Where appropriate, an alternative therapy is intravenous glucose (preferably no more than a 10% glucose solution). All treatments for hypoglycemia provide recovery in approximately 10 minutes. (See Treatment.)

According to the Mayo Clinic, doctors may use other tests to diagnose diabetes. For example, they may conduct a fasting blood glucose test, which is a blood glucose test done after a night of fasting. While a fasting blood sugar level of less than 100 milligrams per deciliter (mg/dL) is normal, one that is between 100 to 125 mg/dL signals prediabetes, and a reading that reaches 126 mg/dL on two separate occasions means you have diabetes.