Forum Discussion
Process Add with partitions in SSMS
- 2 years ago
If you're using "process add" you need to make sure your query doesn't return any data that has been loaded before. To be honest I don't believe too many people are using "process add", because it requires quite some programming to do this reliable in an operational enviroment.
You might be better of using incremental refresh.
Hi SpikeSpiegel_3 ,
You mentioned that the operation is success when the partition is empty. However, the error message indicates that there are duplicate values.Is the amount of data large? You can write a SQL statement to check whether there are duplicate values in the entire data set.
Something like this:
SELECT [dbo].[Dim_Orders].[Order_Id],COUNT(*) as count FROM [dbo].[Dim_Orders]
GROUP BY [dbo].[Dim_Orders].[Order_Id]
HAVING count > 1
If no value is returned, it means that there are no duplicate values in the data set.
Best Regards,
Wenbin Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
I tried this code and it returned no value, so there are no duplicates. I don't think that the problem is in Sql server but from the SSAS. The issue there is that I don't know how to fix this problem and don't even know how to access it.