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

what information is maintained within the msdb database? : Sql server administration

960


What are the different types of indexes?

1105


How can you set the threshold at which sql server will generate keysets asynchronously?

978


What does it mean if @@cursor_row returns a negative number?

982


Can we linked SharePoint to a SQL database?

1017


What are locks in sql?

972


How to implement service broker?

999


When to use Inner join & when to use subquery?

1150


Where to find ntwdblib.dll version 2000.80.194.0?

956


What are the difference between primary key and unique key? : sql server database administration

936


you have separate development and production systems you want to move a copy of a development database into production to do this, you do a backup on the development system and restore to the production system after a few minutes, you begin getting calls from several customers saying that they are denied access to the system why? : Sql server administration

971


What are the advantages of policy management?

993


What is difference between standardization and normalization?

1087


What is read committed?

1074


What is default constraint?

991