[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]



On 5/31/05, Billy Passauer <hpassau at emory.edu> wrote:
> Christopher Fowler wrote:
> > I'm running MySQL 4.X and I want to be able to see when rows are
> > modified.  Is there a way to create a modified column in a table that
> > gets updated with now() everytime a UPDATE or INSERT is executed?
> 
> Might TIMESTAMP be what you're looking for?
&gt; <a  rel="nofollow" href="http://dev.mysql.com/doc/mysql/en/timestamp-4-1.html";>http://dev.mysql.com/doc/mysql/en/timestamp-4-1.html</a>
&gt; 
&gt;   ... Billy ...

-- 
James Sumners
<a  rel="nofollow" href="http://james.roomfullofmirrors.com/";>http://james.roomfullofmirrors.com/</a>

&quot;All governments suffer a recurring problem: Power attracts
pathological personalities. It is not that power corrupts but that it
is magnetic to the corruptible. Such people have a tendency to become
drunk on violence, a condition to which they are quickly addicted.&quot;

Missionaria Protectiva, Text QIV (decto)
CH:D 59


</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="01088" href="msg01088.html">[ale] MySQL and changes</a></strong>
<ul><li><em>From:</em> cfowler at outpostsentinel.com (Christopher Fowler)</li></ul></li>
<li><strong><a name="01089" href="msg01089.html">[ale] MySQL and changes</a></strong>
<ul><li><em>From:</em> hpassau at emory.edu (Billy Passauer)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg01092.html">[ale] MySQL and changes</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg01094.html">[ale] Firewall design</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg01089.html">[ale] MySQL and changes</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg01091.html">[ale] MySQL and changes</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#01093"><strong>Date</strong></a></li>
<li><a href="threads.html#01093"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>