Give SQL Query to find the number words in a sentence ?
ex: 'ram charan singh' then ans:3

Answer Posted / bhakti

select length(trim('ram charan singh')) - length (replace
(trim ( 'ram charan singh'),' ','')) +1 from dual

Is This Answer Correct ?    19 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you find current date and time in oracle?

591


How can we find out the duplicate values in an oracle table?

614


How to apply filtering criteria at group level in oracle?

587


In what script is snap$ created? In what script is the scott/tiger schema created?

2251


What are the types of trigger in oracle?

577






What types of joins are used in writing subqueries?

569


What is ASM (Automatic Storage Management) in Oracle?

715


What are the four Oracle system processes that must always be up and running for the database to be useable?

595


How to drop an existing table in oracle?

595


How can Oracle users be audited?

613


Explain the use of grant option in imp command.

580


How do you store pictures in a database?

563


How to drop an index?

548


What do you mean by merge in oracle?

595


Is it possible to insert comments into sql statements return in the data model editor ?

2072