|
Technical Sample Questions : C |
C++ |
Oracle |
Java | Unix |
Operating Systems |
Data Structure
Oracle Sample Questions ›› Oracle Interview Questions
Technical Sample Questions
Oracle Sample Questions : Oracle Interview Questions
- What are the constructs of a procedure, function or a package ?
Answer:
The constructs of a procedure, function or a package are :
- variables and constants
- cursors
- exceptions
- Why Create or Replace and not Drop and recreate procedures ?
Answer:
So that Grants are not dropped.
- Can you pass parameters in packages ? How ?
Answer:
Yes.You can pass parameters to procedures or functions in a package.
- What are the parts of a database trigger ?
Answer:
The parts of a trigger are:
- A triggering event or statement
- A trigger restriction
- A trigger action
- What are the various types of database triggers ?
Answer:
There are 12 types of triggers, they are combination of :
- Insert, Delete and Update Triggers.
- Before and After Triggers.
- Row and Statement Triggers.
- What is the advantage of a stored procedure over a database trigger ?
Answer:
We have control over the firing of a stored procedure but we have no control over the firing of a trigger.
- What is the maximum no.of statements that can be specified in a trigger statement ?
Answer:
One.
- Can views be specified in a trigger statement ?
Answer:
No
- What are the values of :new and :old in Insert/Delete/Update Triggers ?
Answer:
INSERT : new = new value, old = NULL
DELETE : new = NULL, old = old value
UPDATE : new = new value, old = old value
- What are cascading triggers? What is the maximum no of cascading triggers at a time?
Answer:
When a statement in a trigger body causes another trigger to be fired, the triggers are said to be cascading.Max = 32.
« Previous || Next »
Oracle Interview Sample Question Number:
1-10|
11-20|
21-30|
31-40|
41-50|
51-60|
61-70|
71-80|
81-90|
91-100|
101-106
|
|