Timcwilcox
Programmer
I have a SQL server table that i am not allowed to alter (call it stock), so i want to maintain another table with the same schema initially, but this schema will change in time (call it NewStock).
The problem is i want to solve is when information is added, updated or removed from Stock, i want NewStock maintained with the same data.
The next problem is when NewStock is updated (it will never bee removed or added to), then Stock is automatically updated with the information.
I thought about doing this with a Trigger, but can i get the thing to work.
Am i going about this the right way, or is there a better solution.
Thanks in advance.
The problem is i want to solve is when information is added, updated or removed from Stock, i want NewStock maintained with the same data.
The next problem is when NewStock is updated (it will never bee removed or added to), then Stock is automatically updated with the information.
I thought about doing this with a Trigger, but can i get the thing to work.
Am i going about this the right way, or is there a better solution.
Thanks in advance.