Coating starting from inorganic powder by application of heat or pressure and heat with intermediate formation of a liquid phase in the layer