📅  最后修改于: 2022-03-11 15:04:55.487000             🧑  作者: Mango
In order for you to make parameters optional just asign null to them.
CREATE PROCEDURE MyProcedure
@MyFirstParameter BIGINT = NULL,
@SecondParameter BIT = NULL
AS
BEGIN
--Write your code here.
END