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
How many functions are there in sql?
give the syntax of grant and revoke commands? : Sql dba
Can we use update in sql function?
what is 'mysqldump'? : Sql dba
How do I start pl sql?
what is a composite key ? : Sql dba
what are all the different types of indexes? : Sql dba
what are the other commands to know the structure of table using mysql commands except explain command? : Sql dba
Can we create table in function?
Can %notfound return null after a fetch?
What is sql lookup?
Can we call stored procedure in function?
How can you fetch first 5 characters of the string?
Is primary key an index?
How to look at the current sql*plus system settings?