Hello!
I am using a Lookup transform to transform some data. I observed that columns with an int as a data type are picking up matches but not so with nvarchar and varchar columns. I have tried and done all I could but still no success at the moment. I understand that if you are matching up with data from Excel, you've got to trim, even so, I have done so with data coming from the database - rtrim and ltrim all to no avail.
What it is is that in a table I have a column called Code with values like (a, b, c,) etc and a lookup table where the ID matches like :(a = 1, b = 2, c = 3 and so on). I want the lookup to pick up the ID where a = a and give the ID as '1'... but that is not happening. Rather, every role returned results in nulls.
What do I do to get a match using this transformation or is there a better way of doing this (not fuzzy lookup)?
I anticipate your answer. Thank you.
Zionlite