1. Back To Blog

SQL Server Interview Question and answers - Are SQL Server views updatable?

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.

Watch my most asked SQL Server interview questions and answers video:-


Also, see more stuffs on SQL server interveiw questions

Click to view more SQL server interview questions

Shiv Prasad Koirala

Visit us @ www.questpond.com or call us at 022-66752917... read more

We are on Social