Regarding Joins in server jobs
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 35
- Joined: Mon Dec 29, 2008 2:22 am
- Location: chennai
Regarding Joins in server jobs
for joins purpose suppose we r taking two sources ... in second source first column it is showing in red mark for making the relationship.....
then suppose in my second souce primary key column only it is showing in red color for relationship.....
in detail:
i have two sources 1.dept table (deptno) primary key.
2.Emp table (empno primary key,deptno foreign key)
Dept table is first source and emp table is second source. Then in emp table we have to make relationship with dept column. but in second source primary key column only enabled for relationship....
In that case how to make relationship....
please give the solution
then suppose in my second souce primary key column only it is showing in red color for relationship.....
in detail:
i have two sources 1.dept table (deptno) primary key.
2.Emp table (empno primary key,deptno foreign key)
Dept table is first source and emp table is second source. Then in emp table we have to make relationship with dept column. but in second source primary key column only enabled for relationship....
In that case how to make relationship....
please give the solution
Re: Regarding Joins in server jobs
hi,
the key column in referential file(emp table) appear as a red mark until map these field with primary key of the main file.once you establish the relation ship(mapping) between this two fields,you can drag the fields for out put mapping.
the key column in referential file(emp table) appear as a red mark until map these field with primary key of the main file.once you establish the relation ship(mapping) between this two fields,you can drag the fields for out put mapping.
D.N .MURTHY
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
The present tense plural form of the verb "to be" in English is spelled "are", not "r".
Please strive for a professional standard of written English on DSXchange. Doing so assists those for whom English is not their first language.
Please strive for a professional standard of written English on DSXchange. Doing so assists those for whom English is not their first language.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
reddish color is indicating that you have'nt matched the two key columns on which you are planning to join. Or some syntax error if doing some type conversions etc. Drag and drop the key colum from master link onto the reference link column and the "reddish" color will go away.
Teradata Certified Master V2R5
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
... because it is the only way to do a join within a server job.
To nagarjuna900, we need to see an image of your Transformer stage. The only way the reference input can be red is if there is a key expression that is either missing or syntactically incorrect. Therefore, when you post the image, please ensure that the Key Expression field is widened sufficiently so that its contents are visible.
To nagarjuna900, we need to see an image of your Transformer stage. The only way the reference input can be red is if there is a key expression that is either missing or syntactically incorrect. Therefore, when you post the image, please ensure that the Key Expression field is widened sufficiently so that its contents are visible.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
No, you can join inside database stages as well. Trying to make a point about the lack of coherent details of the job design in the original post and the assumptions being made, and a weak attempt to get clarification from the OP before people went too deep into the alleged 'solution'.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Perhaps.
And with all the discussion of redness it seems *are* talking about a reference lookup in a transformer stage, but (in my best Dana Carvey George not W Bush imitation) "Try'n to make a point here, people". <waves fingers around>![Wink :wink:](./images/smilies/icon_wink.gif)
And with all the discussion of redness it seems *are* talking about a reference lookup in a transformer stage, but (in my best Dana Carvey George not W Bush imitation) "Try'n to make a point here, people". <waves fingers around>
![Wink :wink:](./images/smilies/icon_wink.gif)
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers