troubleshooting Question

Using Input parameters in Stored Procedures

Avatar of Morpheus7
Morpheus7 asked on
Microsoft SQL Server
3 Comments3 Solutions66 ViewsLast Modified:
Hi,

I currently have an sp that inserts the values of the input parameters into a table and that's all it does. Originally,  the sp was written to use two parameters. We now need to add a third parameter, but this may not be required in all circumstances.

Is it possible to have the 3 parameters for the sp but not use all of them. I am trying to keep  process simple by not having to write another sp for the users to run.

Any guidance would be appreciated.

Thanks
ASKER CERTIFIED SOLUTION
Mark Wills
Topic Advisor
Join our community to see this answer!
Unlock 3 Answers and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 3 Answers and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros