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

Answers were Sorted based on User's Feedback



1.what is the difference between view and cursor? 2.If we do any change in view will it affect th..

Answer / shaik

There is no affect in DB while changing in both casess.

Is This Answer Correct ?    21 Yes 5 No

1.what is the difference between view and cursor? 2.If we do any change in view will it affect th..

Answer / 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

1.what is the difference between view and cursor? 2.If we do any change in view will it affect th..

Answer / bindu

Both Cursors and Views doesn't store data , so their is no chance to affect the DB.

Is This Answer Correct ?    4 Yes 5 No

1.what is the difference between view and cursor? 2.If we do any change in view will it affect th..

Answer / mari

declare cursor, open cursor and close cursor

Is This Answer Correct ?    4 Yes 29 No

1.what is the difference between view and cursor? 2.If we do any change in view will it affect th..

Answer / avinash

Change in view would not reflect chg in db but in cursor it
would.

Is This Answer Correct ?    5 Yes 32 No

Post New Answer

More SQL Server Interview Questions

How raid can influence database performance?

0 Answers  


How do I clean up sql server transaction log?

0 Answers  


What is transaction server isolation?

0 Answers  


Explain subquery and state its properties?

0 Answers  


What about UPDATESTATISTICS ?

2 Answers   HCL, Intelligroup,


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

0 Answers  


What is raid and what are different types of raid levels?

0 Answers  


What do you understand by replication in sql server?

0 Answers  


in the physical file layout, where should the transaction log be stored in relation to the data file?

0 Answers  


Hi all, I need query help for below senorio, could you please help me. TableName = City CITYID ContinuationID CITYNAME 1 1 SAN 1 2 DIEGO 2 1 SAN 2 2 FRANCISCO 3 1 CHICAGO 4 1 NEW 4 2 YORK 4 3 CITY Could you please help me to write a generalized SQL that returns results as given below in the Query result CITYID NAME1 NAME2 NAME3 NAME4 NAME5 1 SAN DIEGO 2 SAN FRANCISCO 3 CHICAGO 4 NEW YORK CITY

5 Answers   TCS,


How to check table values in sql server?

0 Answers  


What is meant by datasource?

0 Answers  


Categories