If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > query to know when table has been updated or values have been inserted

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-18-12, 14:16
surya7482 surya7482 is offline
Registered User
 
Join Date: Jan 2012
Posts: 2
query to know when table has been updated or values have been inserted

Hi,
I want to know when table has been updated or values have been inserted because the table is one year old so i need to do R&D over there.

Thanks in advance!!!
Reply With Quote
  #2 (permalink)  
Old 01-18-12, 14:21
healdem healdem is offline
Jaded Developer
 
Join Date: Nov 2004
Location: out on a limb
Posts: 9,250
consider putting a timestamp column in the relevant table(s)
then query that column
or
put a date created column ( a datetime) and a last edited column (timestamp), then qwuery the difference using the MySQL date time functions
__________________
I'd rather be riding my Versys or my Tiger 800 let alone the Norton
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On