-
-
Copying data across tables
In what ways can data be copied from one table to another?
-
-
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
-
-
Can we use function inside a trigger
Is it possible to use function inside a trigger.
-
-
Group By
Create a query using “ group by” that shows maximum salary for each department?
-
Overloading procedure - all parameters are default
If there are 2 overloaded procedure, one among then have 1 IN parameter and another have 2 parameters. Both procedures parameters are of default type.
What will happen when you will call package.procedure without any parameter? -
Write ONLY ONE SQL statement which produces the following output
DEPARTMENT_ID EMP_COUNT DEPT_PERCENTAGE
-
-
What happens to the base table transactions when procedure has some error?
Procedure A calls procedure B. A updates table t1, t2. B updates table t3. If some error happens to B what happens to the updates in all those tables? Whether they will rollback or commit? If commits how far it will commit?
-
PL/SQL table vs Global Temporary Table
Difference between PL/SQL table and Global Temporary Table. why we use Global Temporary Table without using PL/SQL Table.
-
-
-
Reference table from inside a procedure
How do you reference a (updated) table from procedure A which is being updated by another procedure B?
-
COLLECTIONS
1-WHAT IS DIFF BETWEEN VARRAY AND TABLE?2-WHAT IS SQL SUPPORT FOR NESTED TABLE?3-WHAT IS INLINE STORAGE AND OUT OF LINE STOGARE OF THE NESTED TABLE?4-WHAT ARE COMMON EXCEPTION RELATED WITH COLLECTION?5-CAN U DECLARE VARRAY OF VARRAY OF VARRAY OF TABLE?6-GIVE SAMPLE DEFINATION OF VARRAY OF OBJECT AND TABLE OF OBJECT?7-WHAT ARE COMMON METHODS OF HANDLING EXCEPTIONS?
-
Reference cursor from a procedure & pass cursor as a paramater
How to call/reference a cursor defined in a procedure A from another procedure B?
How to pass a cursor as a parameter of a cursor? -
Bind variabales
What are bind variables in sql? explain in detail?
-
PL/SQL Interview Questions
Ans