how to i write the query 'NISHI' TO
N
I
S
H
I

Answers were Sorted based on User's Feedback



how to i write the query 'NISHI' TO N I S H I..

Answer / pradeep

Select SUBSTR('NISHI',LEVEL,1) from dual
CONNECT BY LEVEL<=length('NISHI')

Is This Answer Correct ?    15 Yes 1 No

how to i write the query 'NISHI' TO N I S H I..

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

how to i write the query 'NISHI' TO N I S H I..

Answer / karthik

SELECT 'NISHI' NAME FROM DUAL;

COLUMN NAME FORMAT A1
/

Is This Answer Correct ?    1 Yes 3 No

how to i write the query 'NISHI' TO N I S H I..

Answer / madhu

Select To_char('N I S H I') from dual

Is This Answer Correct ?    2 Yes 6 No

Post New Answer

More Oracle General Interview Questions

What is difference between a formal and an actual parameter?

1 Answers  


What is the oracle implicit cursor?

0 Answers  


What to do if the startbd.bat failed to start the xe instance?

0 Answers  


where we have to use ON clause and where we have to use USING clause in JOINS

2 Answers  


Explain oracle insert into command?

0 Answers  






In Oracle 10g, "g" Stands for what?

5 Answers   Mphasis,


How many categories of data types in oracle?

0 Answers  


How to load data through external tables?

0 Answers  


Explain about achiever in sql?

0 Answers  


How to define a variable to match a table column data type?

0 Answers  


How do I connect to oracle database?

0 Answers  


a query to select maxmun 3 salaries of employee table

12 Answers   IBM, Polaris,


Categories
  • Oracle General Interview Questions Oracle General (1789)
  • Oracle DBA (Database Administration) Interview Questions Oracle DBA (Database Administration) (261)
  • Oracle Call Interface (OCI) Interview Questions Oracle Call Interface (OCI) (10)
  • Oracle Architecture Interview Questions Oracle Architecture (90)
  • Oracle Security Interview Questions Oracle Security (38)
  • Oracle Forms Reports Interview Questions Oracle Forms Reports (510)
  • Oracle Data Integrator (ODI) Interview Questions Oracle Data Integrator (ODI) (120)
  • Oracle ETL Interview Questions Oracle ETL (15)
  • Oracle RAC Interview Questions Oracle RAC (93)
  • Oracle D2K Interview Questions Oracle D2K (72)
  • Oracle AllOther Interview Questions Oracle AllOther (241)