I am trying to update a record in my MS SQL database but cannot seem to get the GETDATE() function to work.
Will somebody look at the code below and tell me were am going wrong?
BEGIN
update Bookings
set TotalBookings = TotalBookings+1
set LastBooked = GETDATE()
where PropertyId='1007'
END