CREATE PROC HumanResources.AddDepartment@N
6 查阅
DECLARE @dept int, @result intEXEC @result = AddDepartment 'Refunds', '', @dept OUTPUT
DECLARE @dept int, @result intEXEC @result = AddDepartment 'Refunds', 'Computer', @dept OUTPUT
DECLARE @dept int, @result intEXEC @result = AddDepartment '', '', @dept OUTPUT
DECLARE @dept int, @result intEXEC @result = AddDepartment @dept OUTPUT
参考答案: