This invention provides a somatostatin receptor subtype 2 agonist. The compound of the present invention represented by general formula (I): [wherein the definitions of all signals therein are the same as the specification defined] or salt, N-oxide or solvate thereof, or prodrug thereof, is a low molecular compound having strong somatostatin receptor subtype 2 agonist activity, and therefore can be administered via simple methods. Further, the compound of the present invention is useful for prophylaxis and/ or treatment of somatostatin associated diseases such as acromegaly, alimentary tract obstruction, and the likes due to its high stability and low toxity.本發明係提供體抑素受體亞型2致效劑。本發明所揭示之通式(I):[式中,所有之記號表示之意與說明書中之定義相同。]所示之化合物、其鹽、其N-氧化物體或其溶劑化物、或者該等之前驅藥物,係具有強效之體抑素受體亞型2致效活性的低分子化合物,因此可以簡便之方法投藥,而因安定性高且為低毒性,因此可使用在肢端肥大症及腸胃阻塞等之體抑素相關疾病之預防及/或治療上。