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

What is a delimiter in sas?

534


What is the difference between left and left outer join?

507


Why is normalization important?

528


What is sap sql?

530


What is fmtonly in sql?

522






how can we encrypt and decrypt a data present in a mysql table using mysql? : Sql dba

635


Explain exception handling in pl/sql?

523


What is rank dense_rank and partition in sql?

531


what are all the different types of indexes? : Sql dba

522


what is acid property in database? : Sql dba

554


What are secondary keys?

551


when MSQL8.0 is in market

1592


explain the advantages and disadvantages of stored procedure? : Sql dba

528


What is foreign key and example?

500


Can we join tables without foreign key?

517