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 / mahesh

create table t1 as select * from emp where 1=2;

create or replace trigger t1
after update on emp
for eachrow
begin
insert into t1
values(empno,'ename',job,'hiredate',sal,comm,deptno);

end;
after create trigger
then u updated.

Is This Answer Correct ?    5 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the reports view in oracle sql developer?

1045


what is the maximum length of a table name, database name, and fieldname in mysql? : Sql dba

1166


how to include numeric values in sql statements? : Sql dba

1149


how to convert numeric values to character strings? : Sql dba

1162


Explain how you can copy a file to file content and file to pl/sql table in advance pl/sql?

1057


How can I make sql query run faster?

1069


What is a loop in sql?

1037


What trigger means?

1036


What is the difference between sql and mysql?

1181


What is primary key and unique key?

1167


How to use sql statements in pl/sql?

1196


how to see the create table statement of an existing table? : Sql dba

1060


Is not equal in sql?

1064


What are the built in functions of sql?

1095


Why primary key is required?

1046