0
は、私は ここは場合は書く方法!=のIsNullは、SQL StoredProceddure。ここ
Alter procedure Sp_GetEmpById
(@Id int)
As
Begin
if(@Id!==ISNULL){
select Email,Gen,Country from Employee where Emp_Id [email protected]
}
Else
print 'The Id Enter By u is Not Availabe '[email protected]
End
私がISNULLで2つのエラーを取得し、Then Id Enter By u is Not in Availabe '[email protected] @Id
@idがnullではないのに、このIDが 'Employee'テーブルに存在しない場合はどうなりますか? –