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

How to run queries on external tables?

0 Answers  


How to connect to the server with user account: sys?

0 Answers  


What is sharded cluster?

0 Answers  


What are the general rules on data consistency?

0 Answers  


Define the terms primary key foreign key and also the difference between primary and the unique key

2 Answers  






What are the tools for Oracle ?

0 Answers   Infosys,


What are the components of Physical database structure of Oracle Database?

4 Answers  


Typically, where is the conventional directory structure chosen for Oracle binaries to reside?

0 Answers  


What is Public Database Link ?

1 Answers  


What is Parallel Server ?

3 Answers  


How to update values in a table in oracle?

0 Answers  


25. Display the client number and the value of the highest value order placed by that client.

2 Answers   Wipro,


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)