see an example here--base tablescreate table atest( ID int IDENTITY(1,1),a varchar(50))create table btest( ID int IDENTITY(1,1),b varchar(50))INSERT atest(a)SELECT 'test' union allSELECT 'tip' union allSELECT 'tin' union allSELECT 'mind' union allSELECT 'pot' union allSELECT 'top' INSERT btest(b)SELECT 'wqdew' union allSELECT 'xvfvv' union allSELECT 'dbgwtr' union allSELECT 'fe' union allSELECT 'poewgert' union allSELECT 'ewgqg'select * from atestselect * from btest--creation of viewcreate view abasselect a.id,a.a,b.bfrom atest ajoin btest bon b.id = a.idselect * from ab--updating only atest's columnupdate abset a=a+'123'select * from ab--updating only btest's columnupdate abset b=b+'345'select * from ab--updating multiple base tables column this will fail with errorupdate abset a=a+'678',b=b+'910'output----------------------------Original viewid a b-------------------------------1 test wqdew2 tip xvfvv3 tin dbgwtr4 mind fe5 pot poewgert6 top ewgqgafter atest column updateid a b------------------------------1 test123 wqdew2 tip123 xvfvv3 tin123 dbgwtr4 mind123 fe5 pot123 poewgert6 top123 ewgqgafter btest column update--------------------------------id a b--------------------------------1 test123 wqdew3452 tip123 xvfvv3453 tin123 dbgwtr3454 mind123 fe3455 pot123 poewgert3456 top123 ewgqg345after both tables column updateMsg 4405, Level 16, State 1, Line 1View or function 'ab' is not updatable because the modification affects multiple base tables.
------------------------------------------------------------------------------------------------------SQL Server MVPhttp://visakhm.blogspot.com/