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 a string is there like s1,s2,s3,s4.How to find count of
commas in this.

Answer Posted / prashant

14:41:23 SQL> SELECT regexp_count ('s1,s2,s3,s4', ',')
14:41:24 2 FROM DUAL;

REGEXP_COUNT('S1,S2,S3,S4',',')
-------------------------------
3

Elapsed: 00:00:00.00
14:41:26 SQL>

Is This Answer Correct ?    9 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is pl sql useful?

930


What will you get by the cursor attribute sql%found?

896


How does sql*loader handles newline characters in a record? : aql loader

984


What is dynamic query?

909


What is rtm stands for?

1018


What is the difference between partition and index?

919


What are dml commands?

932


What is difference between my sql and sql?

995


how to shutdown mysql server? : Sql dba

1027


What is meant by user defined function?

976


What is difference between stored procedure and trigger?

1055


Explain 3 basic parts of a trigger.

1252


What are all the different types of indexes?

1090


Is big data nosql?

881


how to create a table index in mysql? : Sql dba

983