SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO
CREATE PROCEDURE [dbo].[p_claim_actors_delete]
	@claim_id int,
	@actors type_table_id READONLY
AS

	/*
	DGE
	supprimer les acteurs contenus dans la table @actors.

	*/

	delete	ca
	from	claim_actors ca
			inner join @actors a on a.id = ca.clact_actor_id
	where	ca.clact_claim_id = @claim_id

GO
