I'm new to Oracle and still trying to get my bearings, so please forgive me if this is a dumb questions. I am creating a log table for my application that will reside in my Oracle database. I'd like to have Oracle automatically update each row's timestamp field as it is INSERTed into the table. Is there an easy way to do this? Trigger? Sequence?
Also, I'd like to make sure that it stores both the date AND time (don't mind if this is milliseconds or not) -- my thought is to use the same field for both, but some posts have mentioned having separate "Date" and "Time" fields -- any strong arguments for one or the other?
Thanks,
~lbrechler
Also, I'd like to make sure that it stores both the date AND time (don't mind if this is milliseconds or not) -- my thought is to use the same field for both, but some posts have mentioned having separate "Date" and "Time" fields -- any strong arguments for one or the other?
Thanks,
~lbrechler