Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What are advantages of Stored Procedures?

Answers were Sorted based on User's Feedback



What are advantages of Stored Procedures?..

Answer / p.rajasekar

Procedures provide advantages in the following
areas:
1•security
Stored procedures can help enforce data security.
You can restrict the database operations that users can
perform by allowing them to access data only through
procedures and functions.
For example, you can grant users access to a
procedure that updates a table, but not grant them access
to the table itself. When a user invokes the procedure, the
procedure executes with the privileges of the procedure's
owner. Because users only have the privilege to execute the
procedure and not the privileges to query, update, or
delete from the underlying tables, users can invoke the
procedure, but they cannot arbitrarily manipulate table
data in any other way.

2•performance
Reduces network traffic as compared to no. of
individual SQL sent
Since procedure’s complied form is available in the
database, no compliation step required to execute the code.
If procedure is present in SGA then retrieval from
disk is not required and execution can begin immediately.

3•Memory allocation
Since stored procedures take advantage of shared
memory capabilities of ORACLE, only a single copy of the
procedure needs to be loaded into memory for execution by
multiple users.
4•productivity
Stored procedures increase development
productivity. By designing applications around a common set
of procedures, you can avoid redundant coding and increase
your productivity.

5•Integrity
By developing all of your applications around a
common group of procedures, you can reduce the likelihood
of committing coding errors.

Is This Answer Correct ?    11 Yes 0 No

What are advantages of Stored Procedures?..

Answer / greatasoft-mani.b

Stored Procedure's are precomplied one. When ever you call
a stored procedure it generate the result faster than
ordinay coding. The improve the performance of the
application i.e to reduce the time stored procedure's are
used

Is This Answer Correct ?    8 Yes 1 No

What are advantages of Stored Procedures?..

Answer / roopesh kumar

The stored procedures are compiled pl/sql code block that
are stored in oracle's data dictonary as p-code. When we
have to use a perticular code block many times then we
should use procedure, function etc.

The use of procedure save time of execution of a block &
remove the need to write the code of a block every time.

Is This Answer Correct ?    6 Yes 0 No

Post New Answer

More SQL PLSQL Interview Questions

What are the differences between implicit and explicit cursors?

0 Answers  


what are enums used for in mysql? : Sql dba

0 Answers  


Types of joins ?

11 Answers   Polaris, TCS,


What is rank () in sql?

0 Answers  


How do you clear the screen in sql?

0 Answers  


Can we create table in function?

0 Answers  


explain the difference between delete , truncate and drop commands? : Sql dba

0 Answers  


Write the sql query using dual table for below output? 1 L R --- --- ---- 1 1 1 1 2 1 1 3 1 1 1 2 1 2 2 1 3 2 1 1 3 1 2 3 1 3 3 Write a query using only Dual table with out writing any pl/sql program.

3 Answers   JPMorgan Chase,


what are null values? : Sql dba

0 Answers  


can we call a procedure into another procedure?If yes means how you can pass the perameters for the two procedures?

2 Answers   Fujitsu,


Explain what is sql?

0 Answers  


How do I filter in sql profiler?

0 Answers  


Categories