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...

How can we Get the Updated Rows? ie, There is 100s of Rows i
updated the Rows who have salary 5000. then i want to select
the Updated Rows. How can we achieve it?

Answer Posted / sandeeptiwari1111@gmail.com

We can achieve this w/o using any Trigger also.
For this result you just need to put your update statement inside this below block


begin
----Your udate statement
dbms_output.put_line(sql%rowcount);
end;

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why should I use postgresql?

1068


Explain how exception handling is done in advance pl/sql?

1046


Does mysql support pl sql?

1233


What is schema in sql?

1002


How can you load multi line records? : aql loader

1126


Why use triggers in sql?

1013


How do I view a sql trace file?

1063


What is difference between procedure and trigger?

1022


What are the datatypes available in pl/sql ?

1155


What is trigger with example?

1170


what are the join types in tsql? : Transact sql

1107


Is left join same as inner join?

1219


How can I speed up sql query?

1008


what is an execution plan? When would you use it? How would you view the execution plan? : Sql dba

1019


What are the 3 modes of parameter?

1208