I have this stored procedure
ALTER PROC myProcedure
@day VARCHAR (6) = NULL
as
Now if I call it like this
EXEC myProcedure @day= ''
What will be the result of @day? Will it be empty string or NULL?
My theory is, if the parameter was omitted completely, it would be NULL, but now it will be empty string. Can anyone confirm?