1. A method, comprising: translating source code including query statements to perform operations with respect to a database into executable object code; generating a statement descriptor for at least one query statement into the object code, wherein the statement descriptor for the at least one query statement includes information on the query statement including the query statement in the source code; and processing the statement descriptors in the object code to output information on the query statements indicated in the statement descriptors.