SQL Server Interview Question and answers - Are SQL Server views updatable?
- By Shiv Prasad Koirala in SQL
- Nov 22nd, 2012
- 2051
- 0
Taken from the best selling SQL Server interview question book,you can see more about the book by clicking on SQL Server interview questions and answers book.
You can only update columns of view if they come from the same base table.If your view is using multiple base tables,you cannot update multiple columns from multiple base tables.
For instance if you have a view which uses "Customer" and "Address" base table,you can either update "Customer" base tables columns or "Address" base table columns at time. But not both of them in one go.


In case you trying to update multiple base tables you will get an error as shown in the above figure.
Also watch my most asked SQL Server interview question and answer:-
See more stuffs on SQL server interveiw questions
Regards,
Click to view moreSQL server interview questions
Shiv Prasad Koirala
Visit us @ www.questpond.com or call us at 022-66752917... read more
- By Shiv Prasad Koirala
- Jan 17th, 2012
- 13426
- 0
.NET interview questions: - Can you elaborate project life cycle?
- By Shiv Prasad Koirala
- Aug 3rd, 2011
- 10193
- 0
Five most important SharePoint 2010 interview questions
- By Shiv Prasad Koirala
- Nov 16th, 2011
- 9922
- 0

