The trial is conducted in Europe, North America The aim of the trial is to compare the efficacy and safety of insulin degludec and insulin glargine 300 units/mL in subjects with type 2 diabetes mellitus inadequately treated with basal insulin with or without oral antidiabetic drugs.