Hi ,
I am using a column generator to create a new column , datastage populates random data to it.
I want to assign a constant value to it, is it possible ?
P.S. I don't want to use a transformer
thanks in advance.
sumoka.
how to assign a default value to a generated column ?
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 42
- Joined: Thu Dec 11, 2008 11:07 am
pls use the information provided in the designer while configuring column generater
under colum to generate
Name of column to be added to row by the generator. To control the way random data is generated, open up the column editor for the output column and select Parallel Generator properties.
go to output column choose your datatype and provide your fixed value on Edit column meta data window.
under colum to generate
Name of column to be added to row by the generator. To control the way random data is generated, open up the column editor for the output column and select Parallel Generator properties.
go to output column choose your datatype and provide your fixed value on Edit column meta data window.
-
- Participant
- Posts: 53
- Joined: Fri Apr 18, 2008 8:13 am
- Location: United States
how to assign a default value to a generated column ?
Hi,
You can EDIT the column which you are generating in Column Generator and there is a tab to specify the Default Value. You can specify whatever default value you want out there.
You can EDIT the column which you are generating in Column Generator and there is a tab to specify the Default Value. You can specify whatever default value you want out there.
Regards
Ajay
Ajay