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
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 |
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 |
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 have 2 Databases. How can create a table in particular database? How can i know the list of tables presented each database?( in oracle 10g)
What is data types in sql?
differentiate between float and double. : Sql dba
----> There is a table T with two columns C1 and C2. The data is as below: C1 C2 1 4 2 5 3 6
Why is pl sql used?
What is the difference between UNIQUE CONSTRAINT and PRIMARY KEY? 1. There is no difference. 2. A PRIMARY KEY cannot be declared on multiple columns. 3. A UNIQUE CONSTRAINT cannot be declared on multiple columns. 4. A table can have multiple PRIMARY KEYS but only one UNIQUE CONSTRAINT. 5. A table can have multiple UNIQUE CONSTRAINTs but only one PRIMARY KEY.
When do we create bitmap indexes
What is the best free sql database?
How does rowid help in running a query faster?
What is meant by <> in sql?
What is an inconsistent dependency?
What is procedure explain with example?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)