if a string is there like s1,s2,s3,s4.How to find count of
commas in this.
Answer Posted / ajit
select 's1,s2,s3,s4' str,
length('s1,s2,s3,s4') - length(replace('s1,s2,s3,s4', ',')) str2
from dual;
| Is This Answer Correct ? | 11 Yes | 1 No |
Post New Answer View All Answers
What is rename in sql?
When is a declare statement required?
Why cross join is used?
how do you login to mysql using unix shell? : Sql dba
Does view contain data?
What is the primary key?
what is innodb? : Sql dba
What are the main features of cursor?
What is cursor status?
What does stand for in sql?
How do you optimize a query?
What is the difference between a database and a relational database?
What is a natural join sql?
What is the difference between sql and mysql?
In a distributed database system, can we execute two queries simultaneously?