Incorporating Provenance in Database Systems