I have read through piles of documents and searched many forums, but I am on a short deadline and am incapable of figuring this out for some reason. I apologize in advance for what I am sure will be a very simple question to those who have Mercator experience.
I need a map to merge 2 sets of data, one from a file, one from a db. This is a very simplified example.
Input 1: File
ID, metadata1, metadata2
Input 2: Database
ID, title, desc
Output: ID, title, desc, metadata1, metadata2
However, in my output all of the inputs are merged with all of the outputs, not synched up by ID. I had expected this because I cannot figure out how to restrict it based on ID. I have read about using #VAR# in the SQL statement and changing the value at runtime, but I would think there has to be a way using DBQUERY.
Any assistance would be greatly appreciated.
I need a map to merge 2 sets of data, one from a file, one from a db. This is a very simplified example.
Input 1: File
ID, metadata1, metadata2
Input 2: Database
ID, title, desc
Output: ID, title, desc, metadata1, metadata2
However, in my output all of the inputs are merged with all of the outputs, not synched up by ID. I had expected this because I cannot figure out how to restrict it based on ID. I have read about using #VAR# in the SQL statement and changing the value at runtime, but I would think there has to be a way using DBQUERY.
Any assistance would be greatly appreciated.