- For individual users
- Instant access to solutions
- Ask your tech questions
- Start your 30-day Free Trial
Main Topics
Browse All TopicsAny dictionary table keep the information for the last dml for a table ? For instance, when is the last time I did insert for this table A.
Regards,
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: adixitPosted on 2004-01-13 at 02:19:37ID: 10102632
There is no such dictionary table but you can add a trigger on your table to log these informations in a log table, something like:
---- --------------------
SQL> create table log_table (act_time date, act_user varchar2(30), action varchar2(20));
Table created.
SQL> create table my_table (col number);
Table created.
SQL> create or replace trigger my_trig
2 after insert or update or delete on my_table
3 declare
4 operation varchar2(20);
5 begin
6 if INSERTING then operation := 'Insert';
7 elsif UPDATING then operation := 'Update';
8 else operation := 'Delete';
9 end if;
10 insert into log_table values (sysdate, user, operation);
11 end;
12 /
Trigger created.
SQL> insert into my_table values (1);
1 row created.
SQL> update my_table set col=2;
1 row updated.
SQL> delete my_table;
1 row deleted.
SQL> commit;
Commit complete.
SQL> select * from log_table;
ACT_TIME ACT_USER ACTION
------------------- --------------------------
07/01/2004 10:32:46 TEST Insert
07/01/2004 10:32:46 TEST Update
07/01/2004 10:32:46 TEST Delete
3 rows selected.