-
Difference between SUBSTR and INSTR ?
INSTR (String1,String2(n,(m)),INSTR returns the position of the mth occurrence of the string 2 instring1. The search begins from nth position of string1.SUBSTR (String1 n,m)SUBSTR returns a character string of size m in string1, starting from nth position of string1.
-
Explain Connect by Prior ?
Retrieves rows in hierarchical order.e.g. select empno, ename from emp where.
-
-
-
-
-
-
-
-
-
What is the use of TNSNAME.ORA and LISTENER.ORA files
tnsnames.ora is used to connect to the remote db. To get the connection listener.ora should be configured at the server and it should be up and running.
-
-
How to access the current value and next value from a sequence ? Is it possible to access the current value in a session before accessing next value ?
Sequence name CURRVAL, Sequence name NEXTVAL.It is not possible. Only if you access next value in the session, current value can be accessed.
-
-
-
-
What is the fastest way of accessing a row in a table ?
Using ROWID.CONSTRAINTS
-
What is a database link ?
Database Link is a named path through which a remote database can be accessed.
-
-
What is an Integrity Constraint ?
Integrity constraint is a rule that restricts values to a column in a table.
SQL*Plus interview Questions
Ans