Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 view

Author  Topic 

thaniparthi.rao
Yak Posting Veteran

96 Posts

Posted - 2008-06-10 : 09:11:56

I have a small doubt.

Can we update a table through view.
Is there any limitation to upadate

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2008-06-10 : 10:50:33
Yup you can. But for view to be updatable it should satisfy certain conditions.However, even for making a normal view to be updatable,we can define an INSTEAD OF trigger on which does nothing more than updating the base tables directly. More info here:-

http://msdn.microsoft.com/en-us/library/aa258253(SQL.80).aspx
Go to Top of Page
   

- Advertisement -