-1
The column data_venda TIMESTAMP(0)
of my table venda
returns the current time of sale on my sales registration form.
Only on an update form where I update the sale schedule changes, and I didn’t want that kind of thing, because if a sale was made last week it should stick to the sale schedule last week. How I get it?
only do not update this field in the table when updating the sale, or be sure to pass the same value that already exists
– Ricardo Pontual
I did not put this field to update, but updated the same way.
– Dev Snake
good without seeing the code becomes difficult, but the basic solution is either not update or take the current value before updating
– Ricardo Pontual