deletion of records one by one or in mass functional