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)
 paratition table and non paratiotioned index

Author  Topic 

pelegk2
Aged Yak Warrior

723 Posts

Posted - 2008-12-24 : 10:46:19
i am trying to switch data between 2 tables and i get :
quote:
Partition maintenenace failed with error 7733 at line 106: 'ALTER TABLE SWITCH' statement failed. The table 'Reports.dbo.TargetTable2' is partitioned while index 'IX_TargetTable1_RecipientSender' is not partitioned.


whay is that?
Thanks in advance
Peleg

Israel -the best place to live in aftr heaven 9but no one wan't to go there so fast -:)

sodeep
Master Smack Fu Yak Hacker

7174 Posts

Posted - 2008-12-24 : 11:13:54
Read this :
http://technet.microsoft.com/en-us/magazine/cc162478.aspx
Go to Top of Page

pelegk2
Aged Yak Warrior

723 Posts

Posted - 2008-12-25 : 02:28:25
i will explain my problem:
i have a paratiotioned primary key, but the index i added after it isn't part paratiotioned as you can see on the error above.
i didn't understand execlly from the article - must i added the index as a paratiotioned one or should i do something else?

thanks
peleg

Israel -the best place to live in aftr heaven 9but no one wan't to go there so fast -:)
Go to Top of Page
   

- Advertisement -