直接在存储过程里面写sql语句的话 ,会返回操作的结果
ALTER PROCEDURE [dbo].[sp_updateStuStateYRCode]
@StuId varchar(100)
AS
BEGIN
update StuState set KM1YR_Code=0,KM2YR_Code=0,KM3YR_Code=0 where Stuid=@StuId
END、
成功为1 失败则返回0
ALTER PROCEDURE [dbo].[sp_updateStuStateYRCode]
@StuId varchar(100)
AS
BEGIN
update StuState set KM1YR_Code=0,KM2YR_Code=0,KM3YR_Code=0 where Stuid=@StuId
END、
成功为1 失败则返回0