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

Why primary key is required?

984


How many databases can sql express handle?

967


Explain cursor types?

1001


Can you join views in sql?

937


Why schema is used in sql?

1028


Why do we go for stored procedures?

1032


how to include character strings in sql statements? : Sql dba

1044


what is “go” in t-sql? : Transact sql

1086


how many triggers are allowed in mysql table? : Sql dba

1040


what is the functionality of the function htmlentities? : Sql dba

929


How do you write an inner join query?

935


What are schema-level triggers?

1083


How to avoid duplicate records in a query?

987


explain normalization concept? : Sql dba

1030


what is the difference between $message and $$message? : Sql dba

978