asim252
asked on
SQL Profiler in DB2
Hi,
In SQL Server, we have a tool called SQL Profiler. This allows you to view the insert statements, select statements, stored procedure being currently executed on a database.
Is there an equivalent in DB2 version 9.1?
What I would like to see is a log for the insertions done (which was originally invoked by the software layer)?
Kind Regards,
Asim
In SQL Server, we have a tool called SQL Profiler. This allows you to view the insert statements, select statements, stored procedure being currently executed on a database.
Is there an equivalent in DB2 version 9.1?
What I would like to see is a log for the insertions done (which was originally invoked by the software layer)?
Kind Regards,
Asim
ASKER
Hi there,
I want to see the insert statements that happen at run time.
Kind Regards,
A.
I want to see the insert statements that happen at run time.
Kind Regards,
A.
do you want to see the statements or do you need the actual values?
for example, do you want to see
insert into table1 values (?, ?, ?)
or
insert into table1 values(1,2,3)?
for example, do you want to see
insert into table1 values (?, ?, ?)
or
insert into table1 values(1,2,3)?
db2 does not have such exact utility.
You may try Event (Statement) Monitor
You may try Event (Statement) Monitor
ASKER
@momi_sabaq, we want to see insert into table1 values(1,2,3)?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Do you want to see the insert statement(s) or a log of everything that was inserted into a table?