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

The select into statement is most often used to create backup copies of tables or for archiving records?

1064


What is java sql package?

1097


How do I find duplicates in sql?

930


how can I make a script that can be bi-language (supports english, german)? : Sql dba

1015


What are commit, rollback, and savepoint?

996


What is embedded sql what are its advantages?

1043


what are wild cards used in database for pattern matching ? : Sql dba

1144


What are packages in pl sql and also explain its advantages?

1040


What does select count (*) mean in sql?

1019


Explain the difference between triggers and constraints?

975


Can we rollback truncate?

998


What are the possible values for the boolean data field?

963


What does an inner join do?

1183


how to get a list of columns in an existing table? : Sql dba

966


List and explain the different types of join clauses supported in ansi-standard sql?

1356