I have a table containing orders. I'm trying to create a trigger (SQL 2000) that populates another table with the order number when an order is created with tax=0.
I have attempted two different ways. One results in every order with tax=0 in the table getting inserted into the second table instead of just the new one. The other results in nothing inserted into the second table.
What would be the coding to help me?
I have attempted two different ways. One results in every order with tax=0 in the table getting inserted into the second table instead of just the new one. The other results in nothing inserted into the second table.
What would be the coding to help me?