i declare 4 procedure in package specification but in package
body i write only 3 procedure. is it complie??//w

Answers were Sorted based on User's Feedback



i declare 4 procedure in package specification but in package body i write only 3 procedure. is it..

Answer / jprakash025

no its not compile .wt are the procedure or fun etc..
declare in the specification section .must define in the
package body .

Is This Answer Correct ?    17 Yes 2 No

i declare 4 procedure in package specification but in package body i write only 3 procedure. is it..

Answer / rabindra nath das

i declare 4 procedure in package specification but in package
body i write only 3 procedure. is it complie??//w
------------------------------------------------------
Ans:-It will show you 'Warning: Package Body created with compilation errors.'
PLS-00323: subprogram or cursor'4thpackage name' is declared in a package specification and must be defined in the package body

because in package specification you are define 4 package
so you need to define 4 package under package body.

Is This Answer Correct ?    7 Yes 0 No

i declare 4 procedure in package specification but in package body i write only 3 procedure. is it..

Answer / ayan

Procedures that are defined in package spec are public
procedures but procedures those are in package body but not
in package spec are private procedure. we cannot call
private procedure using
package_name.private_procedure_name.Private procedure
should be called from any public procedure.

Is This Answer Correct ?    1 Yes 2 No

i declare 4 procedure in package specification but in package body i write only 3 procedure. is it..

Answer / jprakash025

yes it s complie

Is This Answer Correct ?    6 Yes 13 No

Post New Answer

More SQL PLSQL Interview Questions

Mention what problem one might face while writing log information to a data-base table in pl/sql?

0 Answers  


What types of commands can be executed in sql*plus?

0 Answers  


How the execution will be done in exceptions?

2 Answers  


What is out parameter used for eventhough return statement can also be used in pl/sql?

0 Answers  


What are the types of variables use in pl sql?

0 Answers  






how instead of triger is helpful for mutating tables errors handlling ?

2 Answers   Oracle,


What are records give examples?

0 Answers  


Is oracle sql free?

0 Answers  


what is the difference between mysql_fetch_object and mysql_fetch_array? : Sql dba

0 Answers  


Can we use pl sql in mysql?

0 Answers  


Are dml statements autocommit?

0 Answers  


what is a join? : Sql dba

0 Answers  


Categories