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...


Difference between a query and strored procedure?

Answers were Sorted based on User's Feedback



Difference between a query and strored procedure?..

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

Difference between a query and strored procedure?..

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

Difference between a query and strored procedure?..

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

Difference between a query and strored procedure?..

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

Post New Answer

More SQL PLSQL Interview Questions

When would you denormalize?

8 Answers   MBT, Microsoft, MMU,


What are procedures used for?

0 Answers  


What is Referential Integrity?

3 Answers  


what does it mean to have quoted_identifier on? : Sql dba

0 Answers  


table name :Tab fields name 1.trx_no (pk) 2.trx_date 3.account code (7 char) 4.account type (1 char) 5.amt Tab contains account code day wise debit and credit transaction , account type fiels can have 2 value D for debit and c for Credit . write a query to display the account code wise total debit and credit bal for the month of april 2004. write a query to display account code wise new amt credit for the april 2004

2 Answers   Maruti Suzuki,


What are the subsets of sql?

0 Answers  


type type_name is table of varchar2(30) index by binary_integer for the above type you have to create a identifier... like identifier_name type_name; for the above type you can use the below methods..like first , last , prior, next , delege..etc...like this.. if you create a cursor...like cursor cursor_name is select * from scott.emp; is there any methods like above to use prior, fist , last , next , trim ,etc...

1 Answers   Satyam,


in procedure how to return a value

3 Answers   Wipro,


Can I join the same table twice?

0 Answers  


Why is sharding used?

0 Answers  


What is sql character function?

0 Answers  


how will u find statistics of a database objects?

2 Answers   iFlex,


Categories