Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Oracle timestamp
Message
De
03/04/2001 06:43:26
 
 
À
03/04/2001 06:15:47
Del Despain
Colorado Plateau Associates
Hurricane, Utah, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00491232
Message ID:
00491237
Vues:
8
Oracle does not have this facility.
The usual way to do it is with a trigger.

In my version I have columns

timestamp date
last_user varchar2(100)

Then the trigger looks like
CREATE OR REPLACE TRIGGER MYTABLE_AUDIT:INFO
 BEFORE INSERT OR UPDATE ON "MYTABLE" 
  FOR EACH ROW 
  BEGIN 
   :new.last_user=USER;
   :new.timestamp=SYSDATE;
END; 
/
Not sure about the views part of your question I don't use 'em.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform