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 / 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 |
Post New Answer View All Answers
Can we use bind variables in oracle stored procedure?
How to define an oracle sub procedure?
How to select some rows from a table in oracle?
What is the usage of merge statement?
how can we store any pdf file in oracle
Can I create users through internet explorer in oracle 10g?
How to rename a tablespace in oracle?
What happens if variable names collide with table/column names?
How to write a query with an inner join in oracle?
What is Trigger in Oracle?
Give the different types of rollback segments.
can u plz provide me oca sql dumps please i need them
What is translate in oracle?
How to drop an index in oracle?
What is a proxy object?