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

Explain about integration services of Microsoft SQL server?

578


How would you add a section to a table?

562


What is hot add cpu in sql server 2008?

512


What do you mean by data manipulation language?

583


What is the server name for sql management studio?

472






Why we should not use triggers?

534


How do you use a subquery to find records that exist in one table and do not exist in another?

544


How to create new tables with "select ... Into" statements in ms sql server?

506


What is provisioning, billing and metering, and connection routing concepts in the service layer?

92


what are the different ways of moving data/databases between servers and databases in sql server? : Sql server database administration

504


What is the difference between Clustered and Non-Clustered Index?

588


How do you make a trace?

578


what are the types of indexes? : Sql server database administration

591


Find columns used in stored procedure?

520


What are the different Topologies in which Replication can be configured?

635