Difference between writing SQL query and stored procedure ?

Answer Posted / raghuraja, sivaganga, india

Advantage in Programming - If you are using Query in your
program exe, want to change Query, you have to change query
and compile it again. But if used Stored procedure, no need
to recompile just modify the sp. Query is slow and SP is
fast.

Is This Answer Correct ?    30 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between a clustered index and a non-clustered index?

534


What are the events recorded in a transaction log?

508


What is data mart? : sql server analysis services, ssas

598


What is the ‘fillfactor’?

565


What are distinctive joins find as a part of sql?

558






Explain the working of sql privileges?

611


What is difference between delete and truncate commands?

531


How to create new table with "create table" statements?

562


What are the three different part of rdl file explain them?

170


You have to store user responses of ‘yes’ and ‘no’ what kind of data type is best suited for this task?

534


What does the automatic recovery do?

575


How will you monitor replication activity and performance? What privilege do you need to use replication monitor? : sql server replication

550


What is create statement?

531


What is RAID? What are the different types of RAID configurations?

617


What is xdr?

566