Experts Exchange connects you with the people and services you need so you can get back to work.
At Springboard, we know how to get you a job in data science. With Springboard’s Data Science Career Track, you’ll master data science with a curriculum built by industry experts. You’ll work on real projects, and get 1-on-1 mentorship from a data scientist.
CREATE PROCEDURE dbo.my_proc
@po int = NULL, -- NULL default value
@mo int = 2, -- Default value of 2
@ko int = 3 -- Default value of 3
SET NOCOUNT ON;
SELECT @po, @mo, @ko;
-- exec dbo.my_proc -- No parameters supplied
-- NULL 2 3
Open in new window
Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.
Have a better answer? Share it in a comment.
Please enter a first name
Please enter a last name
Must be at least 4 characters long.
Join and Comment
Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.