if a string is there like s1,s2,s3,s4.How to find count of
commas in this.
Answer Posted / ashok
SELECT LENGTH(REGEXP_REPLACE('s1,s2,s3,s4', '[s0-9]', '')) FROM dual
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What are triggers and its uses?
Differences between Oracle 9i and 10g (Probably in terms of SQL and PL/SQL)?
What is rank function in sql?
What is clause in sql?
What is pivot table in sql?
what are properties of a transaction? : Sql dba
What is trigger in sql? Explain
What is the use of & in pl sql?
how can we know the number of days between two given dates using mysql? : Sql dba
Why we use joins in sql?
Does varchar need length?
What is the difference between execution of triggers and stored procedures?
what is error ora-03113: end-of-file on communication channel?
What is use of package in pl sql?
What are the uses of sysdate and user keywords?