Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 249
  • Last Modified:

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?
0
asullivan62
Asked:
asullivan62
  • 3
  • 2
  • 2
1 Solution
 
Scott PletcherSenior DBACommented:
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.
0
 
TempDBACommented:
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.
0
 
asullivan62Author Commented:
good answer
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
asullivan62Author Commented:
I've requested that this question be deleted for the following reason:

found it myself
0
 
Scott PletcherSenior DBACommented:
I offered a very useful alternative, which the other responder did not.

What is the answer the original asker is using?
0
 
TempDBACommented:
And even the suggestion were a boost up to your confident level, you shouln't delete it.
0
 
asullivan62Author Commented:
okay, thank you.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 3
  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now