Hi guys,
I have a problem that I'm struggling to solve.
I have two tables (link and linkhistory, example) that are essentially the same although when something is deleted ill remove only from the table link. this way I keep an history of old links on the other table and only the active links on the 1st one.
I thought about merging this two and have a boolean field "active" but i feel that splitting the two concepts will make my life easier (maybe not).
So my question is:
Is there a way of when something is inserted in table link that will be automatic (via trigger or some access automatism) make the same insert in the linkhistory table.
Notes:
I know this approach violates all Database development rules, I am not sure yet will go with this, I'm just wondering if this is viable technically.
TY