-
-
Oracle Joins
There are 2 tables, A and B having 3 rows each. What will be result on executing the following query? : SQL> select * from A,B
-
-
Copying data across tables
In what ways can data be copied from one table to another?
-
-
-
Autonomous transactions
What is an autonomous transaction?
-
Oracle collections
What are the types of collection in PL/SQL? What is the advantage of nested tables?
-
What is the use of nocopy parameter in oracle procedure
Hi, What is nocopy parameter in oracle procedure. what is the use of it. In which situation,we can use the nocopy parameter.Thanks,Saravanan.P
-
-
Dropping a type in Oracle
Can a type body be dropped without dropping the type specification?
-
Oracle locks
With what ways can we find out instance locks?
-
What is a cursor for loop ?
Cursor for loop implicitly declares %ROWTYPE as loop index,opens a cursor, fetches rows of values from active set into fields in the record and closeswhen all the records have been processed. eg. FOR emp_rec IN C1 LOOP salary_total := salary_total +emp_rec sal; ...
-
Populating Tables in Oracle 11g
How do you populate tables or data in Oracle 11g step by step?
-
What is a database trigger ? Name some usages of database trigger ?
Database trigger is stored PL/SQL program unit associated with a specific database table. Usages are Audit data modifications, Log events transparently, Enforce complex business rules Derive column values automatically, Implement complex ...
-
What are the modes of parameters that can be passed to a procedure ?
IN,OUT,IN-OUT parameters.
-
-
-
What is the need of primary key as opposed to using not null and unique ?
We can create a column with' not null+unique' with out using primary key
-
What are % TYPE and % ROWTYPE ? What are the advantages of using these over datatypes?
% TYPE provides the data type of a variable or a database column to that variable. % ROWTYPE provides the record type that represents a entire row of a table or view or columns selected in the cursor. The advantages are : I. Need not know about variable's data typeii. If the database definition of a column in a table changes, the...
PL/SQL Interview Questions
Ans