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
Is stored procedure faster than query?
What view means?
Is sql a case sensitive language?
What is a table in a database?
Explain character-manipulation functions?
What is the difference between row level and statement level trigger?
Is left join faster than join?
Is drop table faster than truncate?
What are two statement types in sql?
Enlist the characteristics of pl/sql?
What is the use of sqldataadapter?
What is the difference between sql and t sql?
Can instead of triggers be used to fire once for each statement on a view?
Is it possible for a table to have more than one foreign key?
What is t-sql? : Transact sql