sql queries for stages

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
abhay10
Participant
Posts: 31
Joined: Tue Nov 20, 2007 11:39 pm
Location: Bangalore

sql queries for stages

Post by abhay10 »

pls post sql queries for following stages

1>FUNNEL

2>AGGREGATOR

3>MERGE

4>PIVOT
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Code: Select all

select 'What do you mean?' from dual where stage_name in ('FUNNEL','AGGREGATOR','MERGE','PIVOT')
Sorry, but that's all that came to mind when I saw your post. Perhaps someone else has something more constructive, but I honestly have no idea what you are trying to find out here.

There are no 'sql queries' in those stages - sql queries would only be appropriate for database stages and even there you'd need to be more specific.
-craig

"You can never have too many knives" -- Logan Nine Fingers
abhay10
Participant
Posts: 31
Joined: Tue Nov 20, 2007 11:39 pm
Location: Bangalore

Post by abhay10 »

chulett wrote:

Code: Select all

select 'What do you mean?' from dual where stage_name in ('FUNNEL','AGGREGATOR','MERGE','PIVOT')
Sorry, but that's all that came to mind when I saw your post. Perhaps someone else has something more constructive, but I honestly have no idea what you are trying to find out here.

There are no 'sql queries' in those stages - sql queries would only be appropriate for database stages and even there you'd need to be more specific.
every stage performs an operation to pick data and give the output, this is done automatically in datastage, alternatively there will be some sql queries to do the task similar to performed by the various stages, i wanted those queries, hope u are clear now!!!
Havoc
Participant
Posts: 110
Joined: Fri Nov 24, 2006 8:26 am

Post by Havoc »

abhay10 wrote:
chulett wrote:

Code: Select all

select 'What do you mean?' from dual where stage_name in ('FUNNEL','AGGREGATOR','MERGE','PIVOT')
Sorry, but that's all that came to mind when I saw your post. Perhaps someone else has something more constructive, but I honestly have no idea what you are trying to find out here.

There are no 'sql queries' in those stages - sql queries would only be appropriate for database stages and even there you'd need to be more specific.
every stage performs an operation to pick data and give the output, this is done automatically in datastage, alternatively there will be some sql queries to do the task similar to performed by the various stages, i wanted those queries, hope u are clear now!!!

Funnel - UNION
AGGREGATOR - Multiple-Row functions (Grouping Functions)
Merge - INNER JOIN, LEFT OUTER JOIN

If you read the manual and have some SQL background i'm sure you could have figured that out.
Hope this helps!
Post Reply