create trigger tr_BatchProcessShipments_I
on BatchProcessShipments
after INSERT
AS
begin
insert into Xcarriershipping(interface
, companyname, shippingcost)
select batchnumber, companyid, cost
from inserted
end
go
the names of the tables actually are INSERTED and DELETED.
http://msdn.microsoft.com/en-us/library/ms191300.aspx