1. A method, comprising: translating source code including at least one query statement written in a database query language into executable object code in a computer readable storage medium; generating a statement descriptor data structure in the object code including statement descriptor information for the translated at least one query statement including information on the at least one query statement as presented in the source code; executing the object code to cause execution of the at least one query statement; accessin˜the statement descriptor information in the statement descriptor data structure in the object code for the at least one executed query statement; and processing the accessed statement descriptor information to output information on the at least one query statement included in the statement descriptor information.