Link to home
Start Free TrialLog in
Avatar of asullivan62
asullivan62Flag for United States of America

asked on

viewing parameters in stored procedure

I have a stored procedure I want to review the parameters being passed. Some blogs say that profiler might display null values, What is the best way to determine the actual values being passed to your stored procedure?
Avatar of Scott Pletcher
Scott Pletcher
Flag of United States of America image

It's some overhead, but I usually write them to a table at the very start of the proc.  Naturally you can comment that code out when you no longer need it.
It might make it null but mostly it is not. Is it a one time requirement? If yes, profiler will still be the best option.
Avatar of asullivan62

ASKER

good answer
I've requested that this question be deleted for the following reason:

found it myself
I offered a very useful alternative, which the other responder did not.

What is the answer the original asker is using?
ASKER CERTIFIED SOLUTION
Avatar of TempDBA
TempDBA
Flag of India 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
okay, thank you.