views:

11

answers:

0

I am having a problem where a stored procedure is taking a long time. We have two variables created @start_date and @end_date from other queries earlier in the script.

Is there a way to see what those values are during the execution of the script? The script takes 3 hours to complete when it really shouldn't, I suspect the dates are off, so I would like to see them like I can see the query using show full processlist; and I can see the query that the script is hanging on.