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 time based sql injection?
What is the primary use of normalization?
What is information schema in sql?
What is a pdo connection?
What is procedure explain with program?
What is delete command in sql?
What are the commands used in sql?
What is the usage of sql functions?
Is record in pl sql?
What is rowtype?
What is difference between stored procedures and application procedures?
what is commit? : Sql dba
What are the benefits of triggers?
how mysql optimizes distinct? : Sql dba
Is primary key always clustered index?