Reputation: 167
I am attempting to learn SSIS by completing the Microsoft supplied AdventureWOrksDW sample database. I am up to step 6 - Adding and Configuring the Lookup Transformations. I can't seem to map the CurrencyDate to the FullDateALternateKey no matter what data type I change the CurrencyDate field to..
Has anyone been able to complete this and if so how? thanks
Upvotes: 1
Views: 1712
Reputation: 59
I faced the same problem when I had chosen "Microsoft OLE DB Provider for SQL server" as my connection manager provider, in this case "FullDateAlternateKey" was detected as [DT_WSTR] that wasn't correct. However, when I used "Microsoft OLE DB Driver for SQL Server", "FullDateAlternateKey" was detected as "[DT_DBDATE]" which was correct and it worked
Upvotes: 1
Reputation: 51
Added conversion and it worked, but recreated the flat file manager connection again.
Upvotes: 0
Reputation: 11
The FullDateAlternateKey in the DimDate SQL table has a type of [DT_WSTR] so I changed the type of the CurrencyDate to [DT_WSTR] instead of [DT_DBDATE] to match that type and I was able to map them fine.
Upvotes: 1