To cut a long story short I posted a thread last week to help sort a query - that has been sorted, i'll give a brief desription. We have a system in place that requests room bookings but there was a problem in the way that dates were stored. Info from a web based front end is inserted into a SQL table but problems with the dates allowed duplicate bookings. I created a trigger that will pull all the info from the fields from the original query and amends them to correct the problem. I did this using an update trigger. Problem is now I'm getting 2 rows affected when I should only have 1..
Is there a before update function like in PL/SQL?
Is there a before update function like in PL/SQL?