Hi,
I have used current_timestamp, i am submitting same values then current_timestamp not updating.
I have used below for updating timestamp.
(timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP)

Kindly help me to update timestamp, on every hit

Recommended Answers

All 3 Replies

It is possible using trigger.
Can u please send the triiger code

Generally, the timestamp field will not be updated unless the row has changed, update statement notwithstanding. IE, it is indicating when the row was physically updated.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.