Link to home
Start Free TrialLog in
Avatar of asim252
asim252Flag for United Kingdom of Great Britain and Northern Ireland

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
Avatar of Kent Olsen
Kent Olsen
Flag of United States of America image

Hi Asim,

Do you want to see the insert statement(s) or a log of everything that was inserted into a table?

Avatar of asim252

ASKER

Hi there,

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)?
Avatar of waynezhu
waynezhu

db2 does not have such exact utility.
You may try Event (Statement) Monitor
Avatar of asim252

ASKER

@momi_sabaq, we want to see insert into table1  values(1,2,3)?
ASKER CERTIFIED SOLUTION
Avatar of momi_sabag
momi_sabag
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial