📜  在 sql server 中使参数可以为空 - SQL 代码示例

📅  最后修改于: 2022-03-11 15:04:55.487000             🧑  作者: Mango

代码示例1
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