41 :: What are the modes of parameters that can be passed to a procedure?
IN,OUT,IN-OUT parameters.
|
42 :: What are the two parts of a procedure?
Procedure Specification and Procedure Body.
|
43 :: Give the structure of the procedure?
PROCEDURE name (parameter list.....)is
local variable declarations
BEGIN
Executable statements.
Exception.
exception handlers
end;
|
44 :: Give the structure of the function?
FUNCTION name (argument list .....) Return datatype islocal variable declarations
Begin
executable statements
Exception
execution handlers
End;
|
45 :: 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');
|




Webmaster Said:
Thank you.
c programming Said:
priyank Said:
Sharique Ahmad Said: