Oracle Interview Questions And Answers

Computer Tutorials, Interview Question And Answer
Data Recovery Softwares | Free Games | Online Degree | Cellular Phone| Mutual Fund | Forex
Free Scholarship| Free Magazines | Cheap Digital Camera | Cheap Air Ticket | Cheap Air Fare


Bookmark It  Blogmarks del.icio.us Digg it feedmelinks Furl reddit Spurl Yahoo MyWeb
Google Squidoo StumbleUpon
Ultimate Guide To Job Interview Answers
Download Free Interview Guides
Interview Experts Reveals All
Interview Questions Software

Oracle Interview Questions And Answers


Page 46 of 95
IN,OUT,IN-OUT parameters.

31. What are the two parts of a procedure ?

Procedure Specification and Procedure Body.

32. Give the structure of the procedure ?


PROCEDURE name (parameter list.....)
is
local variable declarations

BEGIN
Executable statements.
Exception.
exception handlers

end;

33. Give the structure of the function ?


FUNCTION name (argument list .....) Return datatype is
local variable declarations
Begin
executable statements
Exception
execution handlers
End;

34. Explain how procedures and functions are called in a PL/SQL block ?

Function is called as part of an expression.
sal := calculate_sal ('a822');
procedure is called as a PL/SQL statement
calculate_bonus ('A822');

35. What is Overloading of procedures ?

The Same procedure name is repeated with parameters of different
datatypes and parameters in different positions, varying number of
parameters is called overloading of procedures.

e.g. DBMS_OUTPUT put_line

36. What is a package ? What are the advantages of packages ?

Package is a database object that groups logically related procedures.
The advantages of packages are Modularity, Easier Applicaton
Design, Information. Hiding,. reusability and Better Performance.

37.What are two parts of package ?

The two parts of package are PACKAGE SPECIFICATION & PACKAGE BODY.


Hosted by www.Geocities.ws




Hosted by www.Geocities.ws

1