Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Explain foreign key in sql?

968


which tcp/ip port does sql server run on? : Sql dba

962


How many types of indexes are there in sql?

932


What is gpt format?

894


What are the parts of a sql statement?

1024


Is sql a scripting language?

921


Write the alter statement to enable all the triggers on the t.students table.

1066


Is sql injection illegal?

963


How can I change database name in sql?

1000


How can I tell if sql is running?

990


Can there be more than one function with a similar name in a pl/sql block?

922


Give the order of sql select?

1082


Under what condition it is possible to have a page level lock and row lock at the same time for a query? : Transact sql

925


What is trigger point?

947


Why should I use postgresql?

966