You don't need a trigger to do that. You can create a stored procedure like shown below, or even use the delete statement. I am making assumptions about the table names, column names etc. Change as appropriate:CREATE PROCEDURE dbo.DeleteCustomerOrders
@CustomerID INT
AS
SET NOCOUNT ON;
DELETE FROM dbo.Orders
WHERE CustomerId = @CustomerID;
SET NOCOUNT OFF;
Go