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 we update a view which is created from two tables

Answer Posted / duong

Views in all versions of SQL Server are updatable (can be the target of UPDATE, DELETE, or INSERT statements), as long as the modification affects only one of the base tables referenced by the view, for example:

-- Increase the prices for publisher '0736' by 10%.
UPDATE titleview
SET price = price * 1.10
WHERE pub_id = '0736'
GO

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

When is a declare statement required?

1127


What are the limitations of sql express?

1042


What does <> sql mean?

1056


Why truncate is faster than delete?

1088


define data blocks ? : Sql dba

966


What is dba in sql? : SQL DBA

1024


Are sql database names case sensitive?

980


What is nested table in pl sql?

1051


Explain the types of joins in sql?

1014


What are its different types of dbms?

990


What steps server process has to take to execute an update statement?

961


How do you respond to dementia behavior?

954


How do I get sql certification?

953


What version is sql?

1005


What is asqueryable?

947