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 sql deadlock?
hi,i plan to put experience on PLSQL ,can anyone suggest me for any institutes in bangalore or how to prepare for interviews
What are the different types of joins in sql?
Are null values same as that of zero or a blank space?
How many databases can sql express handle?
How insert into statements in sql?
How do you update a value in sql?
What are pl sql data types?
how to implement one-to-one, one-to-many and many-to-many relationships while designing tables? : Sql dba
what is a database transaction? : Sql dba
What is attribute indicator in pl sql?
How does postgresql compare to oracle/db2/ms sql server/informix?
Can a foreign key be null?
what are the advantages and disadvantages of cascading style sheets? : Sql dba
What plvcmt and plvrb does in pl/sql?