why we go for package? what are the advantages of using
instead of seperate procuderes or functions
Answers were Sorted based on User's Feedback
Answer / aravinda
package is collection of logically related pl/sql types
,items, subprograms. packages have following advantages over
procedures and functions.
Modularity, easy to design applications, information hiding,
added functionality and best performance.
we can declare global variables in packages which are valid
across application.
without invalidating the package we can modify the package body.
| Is This Answer Correct ? | 13 Yes | 0 No |
Answer / ramakrishna
package is collection of logically related pl/sql types
,items, subprograms. packages have following advantages over
procedures and functions are
1.reduces number of acces to database.since, When you call
a packaged PL/SQL construct for the first time, the whole
package is loaded into memory. Thus, later calls to
constructs in the same package require no disk input/output
(I/O).
2.we can have overloading,public and private,encapsulation
features (like java) in package
| Is This Answer Correct ? | 0 Yes | 1 No |
what is the difference between mysql_fetch_object and mysql_fetch_array? : Sql dba
What is procedure explain with example?
what is an extent ? : Sql dba
can i use global variables in stored procedure or function
Do you know the basic structure of PL/SQL?
Is sql database free?
How can you fetch first 5 characters of the string?
Explain the usage of WHERE CURRENT OF clause in cursors ?
Why we use pl sql?
What are sql ddl commands?
What does where 1 1 mean in sql?
Is a table valued function object?
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)