What is the difference between views and stored procedures?
Can we have input parameters for views?

Answer Posted / mukesh

All above answers are exactly correct.
In a different approach my answer is,
View is for Static approach. We cannot create a view with dynamic values.
SP is for Dynamic/Run-time values.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

A trigger can reference objects outside the current database? State true or false.

563


How can we call UDF(User Define Function) using C# code in ASP.net ?

5950


What is checkpoint in sql server?

629


What is the difference between clustered and non-clustered indexes in ms sql server?

499


What is #table in sql server?

544






How to create an index on an existing table in ms sql server?

505


Explain what role entity and relationship play in an ER diagram.

582


What is the process of normalization?

570


How to store and query spatial data?

566


How do I find sql server instance name?

516


What are commit and rollback in sql?

573


How to enter binary string literals in ms sql server?

596


Tell me what are cursors and when they are useful?

517


How do I determine how many instances of sql server are installed on a computer?

539


What is the dbcc command and why is it used?

578