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

How to add new employee details in an employee_details table with the following details

653


What is localdb mssqllocaldb?

623


What are the various restrictions imposed on view in terms of dml?

525


Explain some predefined exceptions.

590


what is the difference between group by and order by in sql? : Sql dba

600






What do you mean by stored procedures? How do we use it?

529


What are the 3 types of behavioral triggers?

679


What is the left table in sql?

520


How do I view stored procedures?

547


What is a crud api?

502


What is on delete restrict?

544


what is self join and what is the requirement of self join? : Sql dba

685


Explain the order of sql statement execution?

615


how can we repair a mysql table? : Sql dba

540


how to show all tables with 'mysql'? : Sql dba

610