At Tue, 14 Jan 2003 20:49:56 +0100, Gerald Richter wrote:
> >One more way which is probably evil but better overall, imo, is to add a
> field to the session table with the timestamp
> 
> Adding a field should work. Mysql can use a default value on insert. If you
> set the default to now() mysql should automaticly insert the date and time
> and you should be done

if i remember mysql correctly, there's a "timestamp" data type. if you
create a column with that type it will automatically have the time
that row was last modified.

-- 
 - Gus

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to