Answer Posted / mahesh
select regexp_count('hello','l') from dual;
or
SELECT LENGTH('HELLO')-LENGTH(REPLACE('HELLO','L',NULL)) FROM DUAL;
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
Do prepared statements prevent sql injection?
what are the security recommendations while using mysql? : Sql dba
What has stored procedures in sql and how we can use it?
What is cte?
Can ddl statements be used in pl/sql?
What are the types of queries in sql?
what is a database transaction? : Sql dba
What is the difference between jpql and sql?
Can cursors be part of a trigger body?
What is meant by cursor in sql?
discuss about myisam key cache. : Sql dba
How to write pl sql program in mysql command prompt?
How do you explain an index number?
What does partition by mean in sql?
Where are my tempfiles, I don't see them in v$datafile or dba_data_file?