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
Explain foreign key in sql?
which tcp/ip port does sql server run on? : Sql dba
How many types of indexes are there in sql?
What is gpt format?
What are the parts of a sql statement?
Is sql a scripting language?
Write the alter statement to enable all the triggers on the t.students table.
Is sql injection illegal?
How can I change database name in sql?
How can I tell if sql is running?
Can there be more than one function with a similar name in a pl/sql block?
Give the order of sql select?
Under what condition it is possible to have a page level lock and row lock at the same time for a query? : Transact sql
What is trigger point?
Why should I use postgresql?