how to i write the query 'NISHI' TO
N
I
S
H
I
Answer Posted / ajit nayak
DECLARE
V_NAME VARCHAR2(9);
V_LEN NUMBER;
V_POS VARCHAR2(10) := NULL;
BEGIN
V_NAME := '&ENTERNAME';
FOR I IN 1..LENGTH(V_NAME)
LOOP
V_POS := SUBSTR(V_NAME,I,1);
DBMS_OUTPUT.PUT_LINE(V_POS||CHR(10));
END LOOP;
END;
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
How to create tables for odbc connection testing?
How view is different from a table?
Can we write insert statement in function in oracle?
Explain the use of analyse option in exp command.
How many objectname will be created for a single table drop function? Why 'flashback' query giving error "ORA-38312: original name is used by an existing object" while getting the table?
What is oracle analytical function?
How to convert characters to times in oracle?
What are the different pseudo commands? Explain in general?
How to filter out duplications in the returning rows using oracle?
What is a cursor and what are the steps need to be taken?
How to display employee records who gets more salary than the average salary in the department?
Explain the use of rows option in exp command.
Explain rename?
What is integrity and what is constraint??Explain with example
What is enter substitution variable in oracle?