0
create procedure spGetEmployeByDepartmentIdCount
@DepartmentIdType int ,
@DepartmentIdCount int output
as
Begin
select count(id)
from tblemploye1
where @DepartmentIdType = id
End
Declare @DepartmentIdCount int
Declare @id int
set @id = 1
Execute spGetEmployeByDepartmentIdCount @id, @DepartmentIdCount output
print @DepartmentIdCount
함수를 사용하면 값 –
이 반환되므로 문제가 발생합니까? – Sunil
그것은 문제가 될 수 있습니까? –