On Jan 23, 11:56 am, Chiragz <
chira...@gmail.com> wrote:
> Is it possible to create a table with few columns on the fly, say on a
> remote DB2 database using TDI?
You always have the ability to execute arbitrary SQL commands via
execSQL().
Ex: thisConnector.connector.execSQL("CREATE TABLE
<TABLE_NAME> ...")
If you have attribute variables to drop into the table you can call
them within the execSQL command.
Ex: thisConnector.connector.execSQL("CREATE TABLE " +
work.getString("someAttribute") + " ... ");
Then drop this into the connector hook that seems appropriate.
Hope this helps,
-rsxdc5