what is difference b/w pravite procedures and public
procedures?

Answers were Sorted based on User's Feedback



what is difference b/w pravite procedures and public procedures?..

Answer / a g srikanth

Any procedure that is declared and defined ONLY in the
package body is a private procedure. This procedure is
local to the package and other procs cannot call any
private procedure.

On the other hand if the procedure is defined in the
package specification and defined in the package body it is
a public procedure, this is accessible to other procs also.

Is This Answer Correct ?    30 Yes 1 No

what is difference b/w pravite procedures and public procedures?..

Answer / siva

If the procedure is with in the package it is the public
procedure,other wise it is private procedure.

Is This Answer Correct ?    18 Yes 8 No

what is difference b/w pravite procedures and public procedures?..

Answer / swati sucharita

private procedure is used before class name.if we have
declared private before class name then subclass cannot
inherit the properties of private class.
public procedure is used before class name,if we have
declared public before class name then all other class can
inherit the properties of public class.

Is This Answer Correct ?    3 Yes 5 No

Post New Answer

More SQL PLSQL Interview Questions

Difference between NVL, NVL2 and NULLIF

1 Answers   CTS, Metric Stream,


Which kind of parameters cannot have a default value in pl sql?

0 Answers  


define sql

3 Answers   Zensar,


What are all the different normalizations?

0 Answers  


What is difference between a Cursor declared in a procedure and Cursor declared in a package specification ?

2 Answers   JDA,






How do you update sql?

0 Answers  


Write the order of precedence for validation of a column in a table? I. Done using database triggers. Ii. Done using integarity constraints

0 Answers  


what is an associative array with example?

1 Answers  


What is dml with example?

0 Answers  


Is ms sql traffic encrypted?

0 Answers  


what is online transaction processing (oltp)? : Sql dba

0 Answers  


What is the life of an sql statement?

0 Answers  


Categories