What are the advantages of the packages
Answers were Sorted based on User's Feedback
* The main advantage of package is one time compilation
process.while the first time of compilation the source code
is converted into P-code and stored in the database so that
for n no of time calling the pckg it does not take any
memory locations...
*Then whatevere the database objects declared in the
package specification will be globally accessible.
Is This Answer Correct ? | 11 Yes | 0 No |
Answer / akki julakanti
Advantages of Packages:
1.Encapsulation
2.Overloading
3.Better Performance
4.Information hiding
Is This Answer Correct ? | 4 Yes | 0 No |
Answer / chandrasekar.ramasamy
Package-> Compiles and stores all the procedures and
functions in SGA (System Global Area), so the performance
will be high.
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / manoj kaushik
Advantages of Packages --Modularity,Easier Application
Design,Information Hiding,Added Functionality,Better
Performance.
Is This Answer Correct ? | 4 Yes | 1 No |
Answer / senthilkumar
Package is a group of related database objects like
functions ,procedures and other packages construct together
as a unit in the database.
Advantages:
Modularity
Better Performance(when we are executing any
subprogram in the package, it will be loaded in to the
memory, so performance of the package will be very high)
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / gireesh.p.v
package is a collection of procedures&functions.
we can use package by simply calling it
Is This Answer Correct ? | 0 Yes | 2 No |
What is 19 null in sql?
What is the difference between numeric and autonumber?
Enlist the advantages of sql.
Display the total debit counts, total credit counts, sum of total debits, sum of total credits from an employee's transaction table (a single table) containing the following columns. Transaction_number Transaction_amount Transaction_date Transaction_type --> tells if the amount is a credit or a debit. As the query alone is important, the table is left with specifying just the field's name. Pls help me with this query.
What is sql dialect?
SELECT emp_num, years, SUM(salary) FROM sales UNION ALL SELECT emp_id, SUM(takehomepay) FROM marketing What error is present in the sample code above? 1. Queries being combined with the UNION ALL statement are not allowed to have SELECT lists with a different number of expressions. 2. You are not allowed to use aggregate functions within two queries joined by a UNION ALL statement. 3. The UNION ALL statement incorrectly combines the "years" result from the first query with the "SUM (takehomepay)" result from the second query. 4. Unless the UNION ALL statement is replaced with a UNION statement, the queries will return duplicates. 5. The "emp_id" column from the second query must be renamed (or aliased) as "emp_num" so that it corresponds to the column name from the first query. Otherwise, the queries will not execute.
What is the purpose of using pl/sql?
in a package one procedure is wrong package shows valid or not
What is scalar function in sql?
What is record type in pl sql?
select 10 from dual; y its showing all the rows with 10?
Does group by remove duplicates?