I am trying to find out how does my script from another system insert into the database as it takes 30 minutes, way too long. I want to see how every record in which period is being inserted.
The database server has multiple database and each database has multiple tables.
If I only want to see INSERT record in a database called PB_IG
and table name ecmpb.CHAR_VALUE
, what should I do?
run your sql server profiler
, go to "New Trace" -> "Event Selections"
tab, and filter your trace textdata
property