  We use the inflation-restriction sequence and a result of Etingof and Gra\~na
on the rack cohomology to give a explicit description of 2-cocycles of finite
indecomposable quandles with values in an abelian group. Several applications
are given.
