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 are the different types of functions in sql?
What is localdb mssqllocaldb?
Is a foreign key always unique?
What is Histogram?
What is scalar data type in pl sql?
What are all the different types of indexes?
How can we solve sql error: ora-00904: invalid identifier?
What is autocommit sql?
What view means?
What is the usage of the distinct keyword?
what are sequences
What is an inner join sql?
What is cross join sql?
which types of join is used in sql widely? : Sql dba
What is a pragma statement?