When you connect to a database, you can listen to SQL statements to maximize the debugging progress.
1. Create a listener to listen to the database information I want to know.
I want to know the details of the SQL statements currently executed, the SQL statements that affect several database records and the end time of the start time.
2. Create a field in the listener that I want to test.
3. filter: I want to listen to the user and the database.
4. I wrote it in the applicationProgramRead the database or query analyzer to write SQL statements. I can view the details of my SQL statements in the listener.
5. I write the stored procedure in the query analyzer, which will affect the data in my listener.
Note: I only listen to the fields I want to view. You can also listen to the information you want to see, but modify
You must stop the listener before modifying the listener.