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

Answer Posted / grish varshney

views & stored procedure are basically different appraches.
both have their different purposes.
view is a virtual table. which have no data atall.which
difination stored in oracle system catalogue . whenever a
call is made every time the defination is scanned & a new
virtual table is made over the base table.
while stored procedure are the precompiled statements
which can accept arguments..

Is This Answer Correct ?    6 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to execute stored procedure and set temp table in sql server?

550


What is data block and how to define data block size?

594


How to list all user names in a database?

584


What is system stored procedures?

577


What do you mean by subquery?

577






What are the elements of dbms?

535


How sql server executes a statement with nested subqueries?

503


What is onf in normalization form?

565


Can a cursor be updated? If yes, how you can protect which columns are updated?

513


How do I setup a sql server database?

535


List layers of abstraction microsoft architectured to provide relational db through cloud platform ?

161


how to determine the service pack currently installed on sql server? : Sql server database administration

557


Explain the properties of subqueries in sql server?

533


Explain what is row_number function?

556


Explain tablesample?

543