I’d like to run timediff between the time now and the last modified stamp of a value.
Depending if it were under or over 60 minutes I would show a button to allow the value to be changed.
Is this a no-no because of database performance?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
timediffcannot cause any performance issues, but fetching rows, that used to perform such calculaton – can. So it all depends on what your query does.