Reasons for consideration of the stored procedure can be?
(a) With which tables will you have to work? Does it make sense to create a VIEW first?
(b) How often will this procedure actually be used?
(c) Do you want to view data in the database (SELECT), insert new records (INSERT INTO), or do I want to change an existing record (UPDATE)?
(d) All of the mentioned
I got this question in an internship interview.
Question is taken from Stored Procedure in portion Developing with SQL Server of SQL Server