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 tables in sql?
What is normalization? How many normalization forms are there?
What is the starting oracle error number?
What are the uses of sysdate and user keywords?
How do you rename a table in sql?
give the syntax of grant and revoke commands? : Sql dba
how to create a new view in mysql? : Sql dba
What is bulk collect in pl sql?
Why we use join in sql?
What is form and report?
What are sql*plus environment variables?
how to get @@error and @@rowcount at the same time? : Sql dba
which command using query analyzer will give you the version of sql server and operating system? : Sql dba
How to find 3rd highest salary of an employee from the employee table in sql?
What are field types?