
April 21st, 2000, 04:24 PM
|
|
Junior Member
|
|
Join Date: Apr 2000
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
I have a table in which I want to keep track of who changes rows and when they change them. Obviously, a timestamp field type will allow me to keep track of the last change to a record, but is there a way to include the username as a default? A default value of user() simply puts 'user()' in the field.
I'd also like to have the current system time inserted when a record is created, but a default value of now() puts 00-00-00 00:00:00 in the field. I find it strange that this is different behavior from the user() default mentioned above.
Thanks,
John Coleman
|