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


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



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

Answer / Indrajeet

No, a cursor in SQL Server cannot be directly updated. To perform updates based on the data read from a cursor, you would need to materialize (i.e., save) the cursor's data into a temporary table or table variable and then update the original table using an UPDATE statement.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More SQL Server Interview Questions

What is BCP? When do we use it?

2 Answers  


what is package configuration variable?How to change file name in folder dynamically?Plz help me

1 Answers  


What is amo? : sql server analysis services, ssas

1 Answers  


List the types of recovery model available in sql server?

1 Answers  


Explain system views?

1 Answers  


What to check if a User database is locked?

1 Answers   TCS,


What are the restrictions applicable while creating views? : SQL Server Architecture

1 Answers  


How to loop through result set objects using mssql_fetch_array()?

1 Answers  


What is trigger ?

7 Answers   Cap Gemini, SQL,


what is index seek and index scan?

2 Answers  


What are the new data types are introduced in sql 2000?

1 Answers  


What is NOT NULL Constraint in sql server 2012?

1 Answers   CDC,


Categories