Page 1 of 1

Table Definition

Posted: Tue Feb 05, 2008 9:22 am
by aschand
Please can any one help me in creating a table definition for a spread sheet data....

I do not know the procedure.

Thanks
aschand

Re: Table Definition

Posted: Tue Feb 05, 2008 9:50 am
by thumati.praveen
aschand wrote:Please can any one help me in creating a table definition for a spread sheet data....

I do not know the procedure.

Thanks
aschand
save spred sheet in the format of .csv and create as medata like sequential file.

Posted: Tue Feb 05, 2008 10:53 am
by aschand
i saved it as .csv file... then how do i do the rest of the thing

thanks
aschand

Posted: Tue Feb 05, 2008 2:54 pm
by Aruna Gutti
In the designer select tab 'Import', within that 'Table Definitions'.

Select the directory in which the csv file resides.

Specify the csv file you want to Import Table Definition.

Select Appropriate 'To Category' and then Click 'Import'.

Specify the general format on the Format tab. Don't forget to specify first line is column names.

You can click preview to view the data.

Posted: Tue Feb 05, 2008 4:52 pm
by ray.wurlod
Then switch to the Define tab (which is what enables the OK button) and correct the data types guessed by DataStage and add data elements and descriptions for the columns. Click OK to save, then open the newly-imported table definition and add a meaningful short description and any useful additional information in the long description.