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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why truncate is used in sql?

523


What is the difference between left outer join and left join?

503


Do prepared statements prevent sql injection?

521


What is sql lookup?

503


What is pivot in sql?

506






Why triggers are used?

549


What is file based approach?

483


What is pl sql commands?

551


What does sql stand for?

537


What do you mean by stored procedures?

541


What does a pl/sql package consist of?

508


How to return multiple rows from the stored procedure?

511


Which is better cte or subquery?

531


how many groups of data types? : Sql dba

557


What is the best free sql database?

557