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
How to delete a user account in oracle?
Explain temporal data types in oracle
What is Trigger in Oracle?
What happens if recursive calls get out of control?
What is an oracle function?
How to define a variable of a specific record type?
What is a tns service name?
How to test null values?
Explain an integrity constrains?
What is rowid and rownum in oracle?
How many types of segments in Oracle?
types of indexes and the rationale behind choosing a particular index for a situation.
Explain what are clusters?
State some uses of redo log files?
What is oracle rownum?