Page 1 of 1

Description as comment in tables

Posted: Wed Oct 28, 2009 6:05 pm
by prasad111
Hi,

Is it possible to get the Description of the column [ For example oracle Stage --> Input tab --> columns tab --> Description Company name]

Can we get the Company name in the above description as comment in target table in oracle stage or ODBC stage in either server or parallel job, as we are using Generate DDL for creating the table.


Thanks for your replies.

Thanks & Regards
Prasad

Posted: Wed Oct 28, 2009 8:05 pm
by chulett
If you want to add comments to tables you are creating in your jobs, you'll need to switch the Generated DDL to User-defined and then add the comment clauses manually. Which means it can't be data driven.

That is if I am following your requirement, which I'm not sure I am. :?

Posted: Thu Oct 29, 2009 2:37 pm
by prasad111
Thanks for the reply,
So datastage will not carry the content in Description as comment in the database table unless an user defined SQL. I think its easier to add comment in database level.

Thanks
Prasad

Posted: Thu Oct 29, 2009 3:39 pm
by chulett
Yes, it would be. DataStage is an ETL tool, not a database management tool like Enterprise Manager.

Posted: Thu Oct 29, 2009 4:29 pm
by prasad111
Agreed.