| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: Modelling datas and userids
>> I started with a CreatedDate and a CreatedBy. Then I added
ModifiedDate and ModifiedBy. Now I need a few more date/name pairs to
track various steps in a publication process. <<
Without any DDL, we can only guess at what you want in this "vague non-specification"; you are tracking the histroy of something? What are the rules of the actions applied to it? Etc.
CREATE TABLE History
(item_id INTEGER NOT NULL
REFERENCES Items(item_id)
ON DELETE CASCADE
ON UPDATE CASCADE,
action_id INTEGER NOT NULL
REFERENCES Action(action_id)
ON UPDATE CASCADE,
Do actions have a duration instead of a creation timepoint? Etc. Received on Thu Mar 14 2002 - 17:37:30 CST
![]() |
![]() |