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 |
In table three columns with 1 milion records(here there is no sequence values) i want add one more column with sequence values from the first how it is posible?
is it mandatory to select all the column in a view then what columns should be selected
what is definer rights invoke rights?
What is left join example?
1) Synonyms 2) Co-related Subquery 3) Different Jobs in Plsql 4) Explain Plan 5) Wrap 6) Query Optimization Technique 7) Bulk Collect 8) Types of index 9) IF primary key is created then the index created ? 10) Foreign Key 11) Exception Handling 12) Difference Between Delete and Trunc 13) Procedure Overloading 14) Grant Revoke 15) Procedure Argument types. 16) Functions. 17) Joins
What are the types of join in sql?
How do I run pl sql in sql developer?
What are the set operators in sql?
What is auto increment feature in sql?
What does seeding a database mean?
Can a table contain multiple foreign key’s?
Can you join a table to itself?
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)