Have the following code below and I think the my solution is to join the inserted table to itself, but I do not remember how I would do that. Could someone please refresh my memory?I'm trying to update two calculated fields and the code below does not seem to work. ALTER TRIGGER [UPDATEEXTRA7WITHCUSTTYPE2] ON [dbo].[OrderRebateHistory] after INSERTASbeginupdate OrderRebateHistoryset rebate_amt = (inserted.price*(.01*inserted.rebate_pct)),ext_rebate = (inserted.price*(.01*inserted.rebate_pct)*inserted.qty_to_ship)from inserted where inserted.ord_type = OrderRebateHistory.ord_type and inserted.ord_no = OrderRebateHistory.ord_no and inserted.item_no = OrderRebateHistory.item_no and inserted.line_no = OrderRebateHistory.line_noend