  I present a master formula for the next-to-next-to-leading order (NNLO) soft
and virtual QCD corrections for any process in hadron-hadron and lepton-hadron
colliders. The formula is derived from a unified threshold resummation
formalism. Applications to various QCD processes are discussed.
