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"

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to calculate date and time differences in oracle?

540


What is the meaning of recursive hints in oracle?

538


How do I recompile a procedure in oracle?

534


HI ALL, CAN ANYONE TELL ME THE DIFFERENCES BETWEEN SQL CLUSTURS,MSQL CLUSTERS,ORACLE CLUSTERS.......THANKS IN ADVANCE

1797


How to use group functions in the select clause using oracle?

603






What is data block in Oracle?

626


what are actual and formal parameters?

603


How to initialize variables with default values?

646


What is Reduced List of Values?

1714


what is meant by magic query

1781


Differentiate between pre-select and pre-query?

633


What are the varoius components of physical database structure of oracle database?

577


How do I learn what codesets are available in oracle?

579


How to call a stored function with parameters?

568


What is the purpose of tables, private synonyms and public synonyms in Oracle?

601