if a string is there like s1,s2,s3,s4.How to find count of
commas in this.
Answer Posted / ashok
SELECT LENGTH(REGEXP_REPLACE('s1,s2,s3,s4', '[s0-9]', '')) FROM dual
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Is primary key a clustered index?
Explain the insert into statements in sql?
What are the benefits of stored procedures?
What is difference between ms sql and mysql?
Which is faster view or stored procedure?
How can I tell if sql is running?
What is difference between stored procedures and application procedures?
what are the different functions in sorting an array? : Sql dba
what is error ora-03113: end-of-file on communication channel?
What is the benefit of foreign key?
how many columns can be used for creating index? : Sql dba
Can we alter stored procedure?
what are the limitations of mysql in comparison of oracle? Mysql vs. Oracle. : Sql dba
Is primary key always clustered index?
What is meant by truncate in sql?