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



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

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

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

Answer / sanjaya

select regexp_count('RAM CHARAN SINGH','s')+1 from dual;

Is This Answer Correct ?    0 Yes 0 No

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

Answer / joel

select count('ram charan singh') dual;

Is This Answer Correct ?    2 Yes 22 No

Post New Answer

More Oracle General Interview Questions

What is oracle analytical function?

0 Answers  


What is the quickest way to export a table to a flat file?

0 Answers  


How many anonymous blocks can be defined?

0 Answers  


what is the difference between functional dependecy and multilevel dependency?

0 Answers   Oracle,


What is an anonymous block?

0 Answers  






15. Display the item_cost and then truncate it to the nearest hundred, ten, unit, tenth and hundredth.

0 Answers   Wipro,


Q1:code to connect to sql server(database) through jdbc application. Q2:code to connect to Mysql(database) through jdbc application. Q3:code to connect to oracle(database) through jdbc application.

1 Answers  


Can we create trigger on view in oracle?

1 Answers  


Difference between inner join vs where ?

0 Answers  


How to view all columns in an existing table?

0 Answers  


How to select some columns from a table in oracle?

0 Answers  


What is a connect identifier?

0 Answers  


Categories
  • Oracle General Interview Questions Oracle General (1789)
  • Oracle DBA (Database Administration) Interview Questions Oracle DBA (Database Administration) (261)
  • Oracle Call Interface (OCI) Interview Questions Oracle Call Interface (OCI) (10)
  • Oracle Architecture Interview Questions Oracle Architecture (90)
  • Oracle Security Interview Questions Oracle Security (38)
  • Oracle Forms Reports Interview Questions Oracle Forms Reports (510)
  • Oracle Data Integrator (ODI) Interview Questions Oracle Data Integrator (ODI) (120)
  • Oracle ETL Interview Questions Oracle ETL (15)
  • Oracle RAC Interview Questions Oracle RAC (93)
  • Oracle D2K Interview Questions Oracle D2K (72)
  • Oracle AllOther Interview Questions Oracle AllOther (241)