1. A method, comprising: receiving a statement that contains an application input string that references a function which, when executed, stores a value; and sending the statement to a database server for execution; wherein the presence of the stored value indicates that the database server invoked the function.