请大家帮忙看看 有问题没
alter PROCEDURE L_DictionaryTypeADD@InsertUpdate int,
@typename nvarchar(30),
@typememo nvarchar(100)
AS
if @InsertUpdate=0
BEGIN
Insert Into t_DictionaryType(TypeName,typememo) values(@typename,@typememo)
END
else
begin
update t_DictionaryType set TypeName=@typename, TypeMemo=@typememo
where TypeID=@InsertUpdate
end