When either importing data or ETL (Extract, Transform & Load) for a data warehouse, you quite often need to assign key values to your data so you can use these values to join/link on. For example, if you have a list of a spreadsheet which contains region information you may need to assign the region ID to the destination table. When the ID is present you can use this new key to join your data together. In the ETL world these quite often are referred to as a Surrogate key as you are replacing the original text/ID with a new key of your choosing.
This video will explore how to perform a look up to 3 levels; Basic - a standard lookup, Intermediate - a Lookup with simple error handling & Advanced - a lookup with transformation of the errors.
As this video discusses a topic that warrants an hour of time to explain, I have opted to create a series of example files (for SQL 2008) which can be obtained on my website (briefly discussed at teh beginning of the video). If you opt to download these files it will allow you to play around with all the permutations.
Very clear.. Thank you so much..
Have you posted any video for SCD?
kumar75794 7 months ago
@kumar75794 Hi Sorry For The Delay, Thanks for the positive comment!
No just yet but Slowly Changing Dimensions are on my to-do List. Thank you for the request and watch this space.
PCTeachME 7 months ago
keep it up..very useful
jaspreetsinghbal 7 months ago
@jaspreetsinghbal No problem! Thanks for the feedback
PCTeachME 7 months ago
excellent details on lookup ... special cache difference on 2k5 & 2k8
amitdotchauhan 8 months ago
@amitdotchauhan Thanks for your comments!
PCTeachME 7 months ago