1. A method of sanitizing a database comprising: identifying tables of sensitive data; identifying columns of entries in the identified tables having sensitive entries; defining, for each column in the identified columns, a scrubbing operation for overwriting sensitive data in the respective column; identifying relations between the identified tables, the relations identifying corresponding values between different tables, wherein the relations are indicative of master keys and foreign keys employed for accessing corresponding entries: computing an ordering of the columns, the ordering indicative of dependencies between the tables defined by the relations; generating a scrubbing entry, the scrubbing entry indicative of a scrubbing operation, replacement value, and an ordering of the scrubbing entry for each identified column; generating, for each generated scrubbing entry, a script for performing the defined scrubbing operation; and performing, for each identified column, the defined scrubbing operation on the entries in the identified column according to the computed ordering of the columns, wherein the computed ordering of the columns comprises: identifying a referring table having a foreign key to at least one reference table: identifying the referenced tables to which the foreign keys refer: and defining the priority such that scrubbing operations performed on referring tables precede scrubbing operations on reference tables.