CREATE PROCEDURE DailyDuty_DutyID
@DutyID int
AS
Delete from DailyDuty
where DutyID=@DutyID
GODutyID是一个主键。但是执行的时候报出:
Server: Msg 50000, Level 16, State 1, Procedure employee_delete, Line 8
can delete one
但是打开数据表的时候看到那条数据还在,请高手指点。
@DutyID int
AS
Delete from DailyDuty
where DutyID=@DutyID
GODutyID是一个主键。但是执行的时候报出:
Server: Msg 50000, Level 16, State 1, Procedure employee_delete, Line 8
can delete one
但是打开数据表的时候看到那条数据还在,请高手指点。
我试验的可以啊
是不是主键上又什么约束关系