Hi,
Why is it that when i enter exactly the same data in the row the datestamp for that row wont get updated..otherwise the moment i change the data a bit the timestamp would get updated
The record only gets physically updated if it needs to be. So, if no values have been changed, there is no need to update it. If you want to ensure that the value of a timestamp field gets updated, you need to assign it a new value:
UPDATE tbl
SET fld1='abc',fld2=456,timestampfield=NOW()
[/tt]
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.