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 2000 Forums
 Transact-SQL (2000)
 Update through the partioned view

Author  Topic 

jung1975
Aged Yak Warrior

503 Posts

Posted - 2004-07-29 : 10:13:06
Is it possible to update records through the partioned view( indexed view, materialized view)? If so, How?



nr
SQLTeam MVY

12543 Posts

Posted - 2004-07-29 : 10:27:07
Yes - just update using the partitioned view. There are a lot of conditions on this - as well as on making the view partitioning.
Have a look at partitioned views in bol.

==========================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page

Kristen
Test

22859 Posts

Posted - 2004-07-29 : 11:32:15
Have you got the VIEW set up with CONSTRAINTS on the underlying PRIMARY KEY columns? If so you should be all-set I think ...

Kristen
Go to Top of Page
   

- Advertisement -