Viewing 15 posts - 91 through 105 (of 114 total)
If you are interested, Andy Leonard has a good write up on set based updates here:
July 5, 2011 at 1:35 am
You can ofcourse create your own set based SCD out of stock SSIS components or use one of the custom SCD components available on the interwebs.
July 5, 2011 at 1:17 am
You probably want to run something like this against each of the fact tables:
UPDATE F
SET
F.<Product_SKey> = '<Required_Surrogate_Key_Value>'
FROM <F_FactTableName> F
INNER JOIN
(SELECT <Product_SKey>
FROM <D_ProductDimension>...
June 30, 2011 at 10:03 pm
Curious, may I ask what was causing the duplicates?
Anyway, like I said before, deleting the duplicates should be a case of first updating the fact table to reflect the desired...
June 30, 2011 at 8:10 pm
This is a duplicate post.
See reply here: http://www.sqlservercentral.com/Forums/Topic1134716-391-1.aspx
June 30, 2011 at 6:06 pm
It sounds like you've got yourself a hairy problem.
A few questions I'd be asking to start off with are:
- Is this a new DWH, or an existing one? Why has...
June 30, 2011 at 6:01 pm
I had a similar issue with space characters, turns out not all space characters are created equal.
You can take the approach described here, using character codes:
H4K (9/9/2010)
June 28, 2011 at 8:20 pm
It all depends on your requirements, probably any of the articles Steve provided will serve your requirements, but it can be done in SSIS as well.
The approach would require initially...
June 28, 2011 at 7:53 pm
SSIS 2008 has changed the order in which configurations are applied.
I've read a better description of configuration precedents but I can't find it now, so here's another one:
Anyway, in SSIS...
June 28, 2011 at 7:12 pm
patla4u (6/28/2011)
Please let me know,,,I am right or not ?
Correct, that's the simplest way to do it.
June 28, 2011 at 6:23 pm
Ok, after some more investigation:
Transactions(DTC): ON
ValidateExternalMetada: FALSE
Primary key on destination.
I can load up to 9892 rows with no problem.
SELECT TOP 9892 A,B
FROM X
ORDER BY A,B
Succeeds.
SELECT TOP 9893 A,B...
March 2, 2011 at 7:41 pm
Update:
We finally got the source system data cleaned up and there is no longer invalid data but loading the destination table with the transactions on and validation off still failed.
With...
March 2, 2011 at 5:03 pm
sam.dahl (3/2/2011)
1. leave transactions off whilst setting validate external metadata as false and seeing what effect that has...
March 2, 2011 at 3:47 pm
Yeah, that's where I started.
I initially had transactions managed via DTC then I found that I couldn't get the truncate update process to work without causing a lock (unless I...
March 2, 2011 at 4:17 am
That's the thing. It's the primary key in the source and it should remain as such in the destination. The entry with leading spaces is invalid and we are...
March 2, 2011 at 3:28 am
Viewing 15 posts - 91 through 105 (of 114 total)