Difference between a query and strored procedure?

Answer Posted / khushbu wadhwani

in procedure one time compilation is done,whereas in query
compilation is done everytime.so,procedure improves
efficiency & performance

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is right join sql?

536


Can you have a foreign key without a primary key?

510


What are database links used for?

595


How do you break a loop in pl sql?

527


Is it mandatory for the primary key to be given a value when a new record is inserted?

710






What is trigger and types?

568


What are the datatypes available in pl/sql ?

614


Why do we create stored procedures & functions in pl/sql and how are they different?

504


Why self join is used in sql?

499


i have a column which may contain this kind of value: 123*67_80,12*8889_5,34*8_874 ,12*7_7 (can contain space before a comma, and this string length can be anything) now i want to split this value into two column like: column1: 123*67,12*8889,34*8,12*7 column2: 80,5,874,7 use function for this

1067


Can you select everything, but 1 or 2 fields, without writer's cramp?

500


Why is stored procedure faster than query?

493


Can we perform dml on view?

556


What are the usages of sql?

564


How to test for null values?

606