Ad hoc techniques - no longer adequate for sifting through vast collections of data - are giving way to data mining and knowledge discovery for turning corporate data into competitive business advantage.