Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Answer Posted / chandana sriram

Well both of them aren't even compatible to compare and
tell the difference. They both belong to different paradigm
of database world. Anyways, here are the definitions I
would give you. A stored procedure is a set of sql
statements which can be called a subroutine to access
relational database systems. Its actually stored in a
daatabase. They are mainly used for faster access(Pre-
compilation of SQL statements) ,Simplification of data
management and for security.

A view as my friends have elucidated above is a virtual or
logical table that holds result set of a pre-defined query.
The data for these views are not stored in the database.
There are two types of view read only and updatable. You
can modify a read only view with an INSTEAD OF trigger.

Hope that makes sense :-)

Is This Answer Correct ?    20 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Characterize join and name diverse sorts of joins?

1019


What is the use of keyword with encryption.

1081


Tell me what is the stuff and how does it differ from the replace function?

1030


How do I edit a stored procedure in sql server?

967


Explain temporary table vs table variable by using cursor alternative?

1048


Define left outer join?

1020


When we should use and scope of @@identity?

1039


What is scheduled job and how to create it?

1037


How to drop an existing stored procedure in ms sql server?

1084


What is service broker?

1057


Explain isolation levels that sql server supports?

1080


How to download microsoft sql server 2005 express edition?

1084


What are horizontal and vertical scaling?

172


Explain various data region available in ssrs with their use?

982


What are the underflow and overflow behaviors on float literals?

1163