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

when is the use of update_statistics command? : Sql dba

988


Can we write ddl statements in functions?

1066


What is varchar data type in sql?

1023


What is the meaning of disabling a trigger?

1127


What do you mean by query optimization?

960


What is triggering circuit?

1033


What is the requirement of self-join?

1044


Which are the different case manipulation functions in sql?

969


What has stored procedures in sql and how we can use it?

1030


What is %type in sql?

927


What is the file extension for sql database?

958


how can we transpose a table using sql (changing rows to column or vice-versa) ? : Sql dba

912


What found sql?

908


Can procedure in package be overloaded?

1042


Does pl sql work in mysql?

937