This trial is conducted in Japan. The trial aims for comparison of the effect on glycaemic control of liraglutide, compared to sulfonylurea (SU treatment), as assessed by HbA1c after 24 and 52 weeks in subjects with type 2 diabetes. Trial has a randomisation period of 24 weeks followed by a 28 week extension period, in total 52 weeks.