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 a stored procedure in oracle?
How to create a testing table in oracle?
Explain database link?
How many types of cluster table in Oracle?
what is difference between sql plus and sql*plus? (not sql and sql plus).
Explain oracle insert into command?
How to use existing values in update statements using oracle?
How to estimate disk space needed for an export job?
What is a trace file and how is it created in oracle?
Can we insert data in view oracle?
1) WIll all the user get the DEFAULT profile, if their current profile got deleted at any point of time? 2) What are the Situation we need to MOVE the TABLE between T.spaces? 3) What is the use of MOVING the TABLE between SCHEMA'S? 4) What are the Table Clause, Segment Clause and the Datafile Clause which will override each other? 5) Explain SORT_AREA_SIZE of Tempfile to make UNIFORM SIZE
How to filter out duplications in the returning rows using oracle?
How to define a record variable to store a table row?
what is Single Byte Overhead...?
What is the data pump import utility?