Give SQL Query to find the number words in a sentence ?
ex: 'ram charan singh' then ans:3
Answers were Sorted based on User's Feedback
Answer / bhakti
select length(trim('ram charan singh')) - length (replace
(trim ( 'ram charan singh'),' ','')) +1 from dual
| Is This Answer Correct ? | 19 Yes | 3 No |
Answer / sanjaya
select regexp_count('RAM CHARAN SINGH','s')+1 from dual;
| Is This Answer Correct ? | 0 Yes | 0 No |
How to get a list of all tables in the database?
What are the different types of modules in oracle forms?
does the query needs a hint to access a materialized view?
What is the difference between an Oracle Schema and an Oracle Instance?
Without giving condition how to retrieve the unmatched records from table.
How to use existing values in update statements using oracle?
How would you configure your networking files to connect to a database by the name of DSS which resides in domain icallinc.com?
I am using an Oracle 8i Database my data contains Clob data. I am using toad version 7.6 i am able to get the data in toad but unable to extract the data in excel.when trying to extract the data into the excel the toad error says out of memory. Can any body please help me to extract the data through the same toad version. Thanks in advance
What is the difference between primary key and unique key and foreign key in oracle?
Typically, where is the conventional directory structure chosen for Oracle binaries to reside?
How to retrieve first and last records from a table?
src name sex a,male b,female c,male d,female Required output : male female a,b c,d tried pivot but was not successfull select * from src pivot (max(name) for sex in ('MALE','FEMALE'));