restrict users from changing rows inserted 3 hours ago in mysql

Posted by htaikthegreat on Stack Overflow See other posts from Stack Overflow or by htaikthegreat
Published on 2010-06-06T03:35:43Z Indexed on 2010/06/06 3:42 UTC
Read the original article Hit count: 144

Filed under:

Hi,

I inserted a number of rows 3 hours ago and I don't want these rows from changing. How can I write sql statement that compare current time with the timstamp in the row and restrict users from changing it if abouve creteria is met.

Thanks

© Stack Overflow or respective owner

Related posts about mysql