I want to know last five transactions or records from emp
table, from now?

Answer Posted / eshwer

create trigger on emp table with last_transaction with datatype as date or timestamp,

now you have to use dml commands on emp table, when ever u done any modifications on the table these will be inserted in
last_transaction with sysdate with last modification time,

based on time we can find out the last transactions

based on

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How insert into statements in sql?

789


Which table is left in join?

690


Is ms sql traffic encrypted?

681


What is the difference between inner join and left join?

735


Determine if oracle date is on a weekend?

766






What is rank function in sql?

722


What is mutating sql table?

824


How many scalar data types are supported in pl/sql?

714


How do I view a table in sql?

720


How many types of sql are there?

719


How to use boolean type in select statement?

749


What is cross join sql?

680


What are all the ddl commands?

856


Is oracle sql free?

732


Explain the order of sql statement execution?

806