Importing columns

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
phanikumar
Participant
Posts: 60
Joined: Tue Sep 20, 2011 10:44 pm
Location: INDIA

Importing columns

Post by phanikumar »

Hi,

I am using oracle enterprise stage as a source and i am writing a user defined query which is joining on two different tables.The result of this query will be populating some 50 to 60 columns and my question is in order to define the columns in the source what is the best method to import these columns other than typing them manually.

Regards

kumar
SURA
Premium Member
Premium Member
Posts: 1229
Joined: Sat Jul 14, 2007 5:16 am
Location: Sydney

Re: Importing columns

Post by SURA »

store the columns as a , delimited values and save it in a text file and import the metadata.

DS User
BillB
Premium Member
Premium Member
Posts: 48
Joined: Tue Nov 13, 2007 6:44 pm

Post by BillB »

In the database, create a view based on your query. Then import the table definition of the view.
Post Reply