Dear all,
I’ve designed several DB table and for all tables I’ve some fixed fields (set to “not null”):
- date_creation ---------> Date of record creation
- date_modification -----> Date of record modification
- user_creation_id ------> User that create the record
- user_modification_id --> Use that modify the record
I would like to use Attributes values but it seems that I miss someone:
INSERT
- date_creation ---------> Datetime of inclusion
- date_modification -----> Datetime of inclusion ? ? ?
- user_creation_id ------> User IP (not possible user ID ?)
- user_modification_id --> User IP (not possible user ID ?) ? ? ?
UPDATE - date_creation ---------> blank
- date_modification -----> Datetime of update
- user_creation_id ------> blank
- user_modification_id --> User IP (not possible user ID ?)
Is this one the correct way ?
How can define a global variable for UserID or other fields ?
Many thanks
Giovannino