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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is an implicit commit?

1100


What are properties of the transaction?

1045


What is using in sql?

1139


What are synonyms in sql?

1018


What is mutating error?

1005


How many commands are in sql?

1118


What is constant in pl sql?

1060


How can I speed up sql query?

1005


how many groups of data types? : Sql dba

1073


what is oracle database ? : Sql dba

1078


how can you create an empty table from an existing table? : Sql dba

1195


When are we going to use truncate and delete?

1020


Mention what is the function that is used to transfer a pl/sql table log to a database table?

1029


What are the types of records?

1033


What are different types of queries in sql?

1171