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

i have 9 values in a table i.e

-99
-56
-32
41
-2
33
95
-88
55

my question is that i wanna elimenate all -ve values and
wann sum of + values in report

i m using devsuite 10g

its urgent

kindly if anyone knows that answer message me the following
yahoo id

thanx

ALI
smalipaki@yahoo.com

Answer Posted / ajaz ahmad

TRIGGER:- when button_pressed

declare
cursor c1 is select colum-name from table-name;
sum table-name%rowtype;
begin
sum := 0;

for z in c1 loop
if z.column-name < 0 then
null;
else
sum := NVL( sum + nvl(z.column-name),0);
end if;
end loop;
message('Sum of +ve Values is ='|| sum);
end;

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

HI Friends I m new dev(forms & report). can anyone tell me how we upload a document on form 11g.??

1447


Explain master-detail relationship with some examples.

1004


what are bind variables?

1087


What do you understand by oracle forms and why are they required?

1017


how report can be generated if we have the database designed in oracle 10g?

1886


How to create Drill down report?

2127


how to use buttons,check boxes in paper layout,paper design and paper parameter form in oracle report developer 10g

1977


Why oracle forms required?

1038


what is oracle forms?

1104


What do you understand by oracle forms?

1038


List the different types of columns in oracle reports.

1003


What are the Features of Forms 6i over 4.5? What are the Features of Forms 10g? What are the Features of Reports 6i? What are the Features of Reports 10g ?

4617


Have you come across the error ?Failed while printing ?. Why it is happened and How to solve that?

1981


What is an implicit anchor and how is it a different form explicit anchor in a report builder?

1158


from where do u receive the information to develop report

2010