abhi.10dulkar (AT) gmail (DOT) com wrote:
Quote:
Hi guys,
This might be simplest thing, but I am newbie to databases. |
welcome!
Quote:
I need to find out only rows modified within certain time period from a
database. As I undertand a way out could be adding an where clause for
the time period might be an option, |
sure, my first thought is to insure that you have a TIMESTAMP or
DATETIME column. Which database are you using? And can you modify the
table to add such a field?
Quote:
I might be wrong here again. |
Just brainstorming, the commit log (which keep track of all changes to
the database) might be another way to do it. But I think the
timestamp/datetime option is cleaner.
Quote:
But, wanted to know is there any other option. Can triggers or any
other things help me in this matter. |
The WHERE clause option sounds good. What is the overall application
scenario? Why would you want anything other than a WHERE clause?