CREATE PROCEDURE ct_DelPrefCard @tiCardID int as SET NOCOUNT ON begin --Delete the actual card Update coSuper set isActive=0 where coSuperID=@tiCardID --Delete the child records Update coSuper2 set isActive=0 where coSuperID=@tiCardID --Delete our linked listed items in the coCardAssign table --delete from coCardAssign where coSuperID = @tiCardID set nocount off endThanks