1. A method of searching unstructured data stored in a database, the method comprising: storing a plurality of electronic records in a common repository of electronic records in the database that provides an audit trail that cannot be altered or disabled by users of the system, wherein each electronic record comprises unstructured data stored in a character large-object (CLOB) format in a column of a table of the database; creating a security protocol that protects the electronic records against unauthorized access; creating a query designed to identify electronic records in the database that meet criteria designated in the query; prior to executing the query, modifying the query in accordance with the security protocol to create a modified query; and running the modified query against the unstructured data.