The present invention relates to the use of one or more glycosidases in the process for the production and/or purification of a produced desired oligosaccharide. The process is preferably a microbial fermentation process using a host microorganism, which may also comprise nucleic acids expressing sugar catabolic pathway proteins suitable for the degradation of saccharides otherwise hindering the purification of the desired oligosaccharide.