Viewing 6 posts - 1 through 7 (of 7 total)
By maintenance do you mean drop and recreate the table as we did?
Or is there another way?
February 23, 2010 at 7:18 am
Thanks for the reply, how can this space be recovered?
February 23, 2010 at 7:03 am
Looking into this further, it appears to be an issue with the ORDER of the columns which constitute the primary key.
Thus the following:
ALTER TABLE Y
ADD CONSTRAINT [FK1]
FOREIGN KEY(LineCreatedAt,LineId)
REFERENCES X(CreatedAt,...
December 17, 2009 at 7:37 am
Interesting, thanks for saving me the trouble of doing that - although could it be the fact that the partitions are on different filegroups in my case?
The code i'm using...
December 16, 2009 at 8:30 am
returns:
PK_Line_Partitionedclustered, unique, primary key located on PS_LineCreatedAt CreatedAt, LineId
I am beginning to think it is because these columns are on a partition scheme (PS_LineCreatedAt)
whereas the same columns on the target...
December 16, 2009 at 5:21 am
Hi,
They are definitely the only columns constituting the primary key.
I've checked this several times - only these 2 columns have the yellow key icon and "PK" next to them.
December 16, 2009 at 4:59 am
Viewing 6 posts - 1 through 7 (of 7 total)