DSXchange: DataStage and IBM Websphere Data Integration Forum
View next topic
View previous topic
Add To Favorites
Author Message
deepta
Participant



Joined: 16 Nov 2017
Posts: 1

Points: 12

Post Posted: Thu Nov 16, 2017 5:23 am Reply with quote    Back to top    

DataStage® Release: 8x
Job Type: Parallel
OS: Unix
Hello Everyone,

I have a partitioned table in oracle and I am using sparse lookup with this table. How to pass the partition name in run time?
Eg: Table name- City
Partitions like City_10,City_20,....
This Partition is created with the City_id, which is one of the column in the table CITY.
Input will have all City, so I need to pass the partition name in runtime.
While doing sparse lookup ,Is there anyway to do something like below to get the partition in runtime.
Select somecolumn from CITY partition('CITY_'||orchestrate.city_id) where City_id=orchestrate.city_id.
I'm not able to use orchestrate in table name/partition name in the query.Even if I form the partition string in a TFM and pass it in orchestrate, I am getting error.

_________________
Thanks
Deepta
Display posts from previous:       

Add To Favorites
View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2002 phpBB Group
Theme & Graphics by Daz :: Portal by Smartor
All times are GMT - 6 Hours