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...

1.what is the difference between view and cursor?

2.If we do any change in view will it affect the
database,similarly when we do changes in cursor will it
affect the databse?with certain example?Thanks

Answer Posted / sripathi venkata ramesh

I am Sripathi Venkata Ramesh from Gudivada.

1. The answer for view and cursor is mentioned below

Views: Views are used to retrieve date or Update the data

Cursors: Cursors are used to execute the data row by row or
record by record.
There are 2 types of cursors.

1. Implicit cursor: It returns only one
row

2. Explicit cursor: It returns more
than one row

Is This Answer Correct ?    19 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is optimization and its types?

991


What is sql server transaction log file?

1065


What is the syntax to execute the sys.dm_db_missing_index_details?

1035


Where sql server usernames and passwords are stored in a sql server?

995


what are the core components of SSRS?

130


What is the purpose of a table?

963


what is normalization? : Sql server database administration

1106


Can a unique index be created on a column, which contains null?

925


What do you understand by user-defined function in the sql server and explain the steps to create and execute a user-defined function in the sql server?

976


Can we insert data into view sql server?

941


What is a database in ms sql server?

1068


How to create user defined functions with parameters?

1244


What is change data capture (cdc) in sql server 2008?

1030


Why should you use or avoid select * statements?

1034


How to list all objects in a given schema?

1065