magnusandy / 355DatabaseSQL

0 stars 1 forks source link

Trigger: update exhibitions table #37

Open RyanLaForge opened 9 years ago

RyanLaForge commented 9 years ago

Condition: Always. if startDate < enddate < now past record, do not allow. else if startdate < now < enddate ensure start date was not changed. allow update update t_exhibition_locations updating exhibition items trigger does the rest. else if now < startdate < enddate allow update. update t_exhibition_locations updating exhibition items trigger does the rest.