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


counting the no.of characters occurs in a string by using
pl/sql function



counting the no.of characters occurs in a string by using pl/sql function..

Answer / revathy

create or replace function f1(
iip in varchar2,iip2 in char)
Return number
is
tot number;
Begin
select (length(iip)-length(replace(iip,iip2))) into tot
from dual;
return tot;
end;

Is This Answer Correct ?    14 Yes 1 No

Post New Answer

More SQL PLSQL Interview Questions

What is difference between Procedures and Functions ?

6 Answers   Hi Caliber IT,


What is differance unique key and primary key.

7 Answers   EDS,


Which software is used for pl sql programming?

0 Answers  


what are different types of keys in sql?

0 Answers  


Can we create view in stored procedure?

0 Answers  


How do I view a view in sql?

0 Answers  


Which operator is used in query for pattern matching?

0 Answers  


What is the difference between python and sql?

0 Answers  


What is the difference between inner join and left join?

0 Answers  


HOW TO PRINT * ** *** **** ***** BY USING SQL QUERY? (MAY BE USING SCRIPT)

8 Answers   BeBo Technologies,


what are date and time data types? : Sql dba

0 Answers  


What are indexes, and what are the different types?

3 Answers  


Categories