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

If there are 1 to 100 numbers in a table and in that 100
numbers some 10 numbers are deleted.I want to find out the
missing numbers between 1 to 100 by pl/sql how?

Answer Posted / sumit

declare i number :=1;

begin
a number;
while (i<=100) loop
select num from table into a where num=i;
If a is null then dbms_output.put_line(i);
i:=i+1;
end loop;
end;

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you take the union of two tables in sql?

985


what are integrity rules?

1027


How do you delete data from a table?

1039


Why having clause is used in sql?

978


Can we commit inside a trigger?

994


Which is faster view or stored procedure?

946


What does trigger mean in psychology?

962


What are the types of queries in sql?

1086


What is a rank in sql?

963


give the syntax of grant and revoke commands? : Sql dba

1153


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

1356


what are the advantages and disadvantages of cascading style sheets? : Sql dba

1060


What is the sql*loader? : aql loader

1052


What is the difference between the conventional and direct path loads? : aql loader

1400


What is the mutating table and constraining table?

1026