The process of capturing SQL statements
involves two steps: setting the values of certain properties and then
running your application.
Procedure
To
capture SQL statements, these are the basic steps:
- Set values for properties that determine how pureQuery
captures SQL statements from your application. Whenever
you capture statements, you must set values for a few required properties.
A number of other properties are optional.
- Run your application, executing successfully all
logic
paths that contain the SQL statements that you want to capture.