auditing of sql queries