Difference between a query and strored procedure?
Answers were Sorted based on User's Feedback
Answer / tathagoto
query will be compiled each time excution
stored procedure will be compiled once and after that it
will execute when it will be called....
Is This Answer Correct ? | 12 Yes | 0 No |
Answer / srao
Query is nothing but a single statement to retrieve data
from one or more tables.
Procedure is nothing but the combinations of Different
queries.
Is This Answer Correct ? | 8 Yes | 4 No |
Answer / 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 |
Answer / r.s.chauhan
Sp gets stored at the server side where as Not necessary
for query(It can be from application or Clint(sql oem) etc)
Is This Answer Correct ? | 2 Yes | 3 No |
how to create a primary key with out creating an index?
Write a query to find five highest salaries from EMP table. (there is a column SALARY)
24 Answers Cap Gemini, iNautix,
how can i create a user defined datatype
what is error ora-03113: end-of-file on communication channel?
Does view store data in sql?
What are different types of keys?
What are the triggers associated with image items?
pl/sql testing means what ...... explain process how to find pl/sql bugs
What is the difference between microsoft sql and mysql?
Why commit is not used in triggers?
Which is the correct statement about truncate and delete?
what is not null constraint? : Sql dba