what are the benefit of Stored procedure ?

 Posted by Rajkatie on 3/2/2012 | Category: ADO.NET Interview questions | Views: 4456 | Points: 40

1) Improved Performance : Database can optimize the data access plan used by procedure and cache it for subsequent reuse.

2) Security : Stored proceudre can be individually secured within the database. A client can be granted permissions to execute SP without having any permission on the underlying tables.

3) Easy to maintain : easier to modify a stored procedure than it is to change a hard-coded sql statement.

4) Reduce network traffice : Sql statement can be executed in batches rather than sending multiple requests from the client

Source: MSDN | Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Posted by: Jish on: 3/5/2012 | Points: 10
thanku so much...

Login to post response