write a query to count number of alphabets in given string
for example "APPLE"

write a query to generate sequence from 50 to 100


write a query to display in single string "ABCD,EFGH,IJKL,PQRS"

Answers were Sorted based on User's Feedback



write a query to count number of alphabets in given string for example "APPLE" write a..

Answer / ajit

select level+49 from dual connect by level<=51

Is This Answer Correct ?    8 Yes 0 No

write a query to count number of alphabets in given string for example "APPLE" write a..

Answer / phani kumar

1:-select length('apple')from dual;


2:-select level+50 from dual connect by level<=51;

3:-select replace ('ABCD,EFGH,IJKL,PQRS',',')from dual;

Is This Answer Correct ?    3 Yes 1 No

write a query to count number of alphabets in given string for example "APPLE" write a..

Answer / ramya

select replace ('ABCD,EFGH,IJKL,PQRS',',','') from Customers;

Is This Answer Correct ?    1 Yes 0 No

write a query to count number of alphabets in given string for example "APPLE" write a..

Answer / obulesu

select length(regexp_replace('s,a,d,abc',','))
countofcharecter from dual

Is This Answer Correct ?    0 Yes 0 No

write a query to count number of alphabets in given string for example "APPLE" write a..

Answer / nishi.swain@gmail.com

1.SELECT 'APPLE' STRING,LENGTH('APPLE') FROM DUAL;
2.SELECT ROWNUM RN FROM DUAL CONNECT BY ROWNUM<=100 MINUS SELECT ROWNUM RN FROM DUAL CONNECT BY ROWNUM<=49;
3.SELECT 'ABCD,EFGH,IJKL,PQRS'STRING,
REPLACE('ABCD,EFGH,IJKL,PQRS',',') FROM DUAL;

Is This Answer Correct ?    0 Yes 0 No

write a query to count number of alphabets in given string for example "APPLE" write a..

Answer / ajit nayak

1:-select length('apple')
from dual;
o/p:-5

2:-select rownum
from dual
connect by level between 50 and 100;

3:-select replace ('ABCD,EFGH,IJKL,PQRS',',')
from dual;

Is This Answer Correct ?    4 Yes 5 No

write a query to count number of alphabets in given string for example "APPLE" write a..

Answer / chiranjeevi

select level+49 from dual connect by level<=100

Is This Answer Correct ?    2 Yes 3 No

Post New Answer

More Oracle General Interview Questions

Describe varray?

0 Answers  


Explain the difference between sql and oracle?

0 Answers  


How to write numeric literals in oracle?

0 Answers  


What are the attributes of cursor?

0 Answers  


How to call a trigger inside a stored procedure?Give an example.

2 Answers  


What are joins..how many types of joins are there?

29 Answers   Amdocs, CSC, TCS,


i wrote a pl/sql procedure. it must run every sunday 4.40 How can i schedule it with the help of dbms_jobs (or another other procedure with out creating bat file,exe file)

0 Answers   eicc,


How to run queries on external tables?

0 Answers  


Explain the use of grant option in imp command.

0 Answers  


What is Hash Cluster ?

2 Answers  


"primary key=unique+null" is equal,reson?not,reason?

5 Answers  


In which language oracle has been developed?

0 Answers  


Categories
  • Oracle General Interview Questions Oracle General (1808)
  • 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)