Viewing 15 posts - 1 through 15 (of 17 total)
Thanks so much, Jeff. I can't believe I had not thought of this!
April 14, 2014 at 9:47 am
Ok the problem has nothing to do with partitioning. I still don't know what the problem is but at least I know partitioning isn't the cause.
If I check the...
April 10, 2014 at 3:01 pm
That was a typo. The nonclustered primary key actually was created on the correct student_attendance table and not the bkup.
If I allow dupes then there will be dupes in...
April 10, 2014 at 1:00 pm
No Problem adding PK to BKUP table. The duplicate check query you said to try, which I've already run myself on the original table and backup table, produces no...
April 8, 2014 at 10:30 am
If I create a new, empty table that is NOT partitioned and place a primary key on the ID column then copy the data to the new table I do...
April 8, 2014 at 7:41 am
The new partitioned table IS clustered on DATE with a nonclustered primary key on ID. Problem I'm having (which is NOT a problem if I just use a test...
April 4, 2014 at 3:28 pm
The current table has a clustered primary key on the ID column (nchar) and no index on the DATE column at all. This table is copied to a backup...
April 4, 2014 at 2:30 pm
The table will continue to grow as there are no plans for archiving, which is why I am thinking about partitioning. There COULD be as many as 3.6B rows...
April 4, 2014 at 2:23 pm
Thanks for your help. It worked in my test case. But my live table with 23M rows is another story.
For some reason when I create the...
April 3, 2014 at 12:42 pm
I thought I was creating a partitioned table since the following query looked like it showed record counts in separate partitions:
SELECT $PARTITION.LargeTable_PartitionFunction(AbcDate) AS PARTITIONID,...
March 27, 2014 at 2:30 pm
Ok this is really driving me crazy. I followed your suggestion but have the same problem with duplicates.
If I make a nonunique index on the ID column the total...
March 25, 2014 at 12:14 pm
Oh and I ran DBCC CHECKDB on the database before and after the table renaming and new table creations and there are no problems showing in the database.
March 21, 2014 at 12:51 pm
Not sure what that post was all about, canonzone??
I have been trying to figure out what is going on and have queried the renamed (staging) table as well as the...
March 21, 2014 at 12:47 pm
Yes, the original table has a primary key on the same AbcID column. I added a step to drop the primary key constraint before renaming the table to staging...
March 20, 2014 at 8:40 pm
Let me ask this... Does the process of partitioning a table add the partition key to the primary key? This is the only thing I can think of that...
March 20, 2014 at 5:17 pm
Viewing 15 posts - 1 through 15 (of 17 total)