Hi All,
I have a stored procedure which is running forever. The particular stored procedure reads a file and performs validation and inserts into some transaction table.
There are many stored procedures that are called within the main procedure. There might be locks or blocks or some query is taking long time to execute
How do i find out which query in which procedure is taking long time to execute? But sometimes the same procedures completes successfully within few seconds inserting
all the records (10000 recs).
Thanks
Gautam S