Inserting NULL value in a DATE field

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
poorna_76
Charter Member
Charter Member
Posts: 190
Joined: Thu Jul 08, 2004 10:42 am

Inserting NULL value in a DATE field

Post by poorna_76 »

Hi All,

Iam having problems bringing in a DateTime field coming from Oracle which as some NULL values and trying to load into Teradata DATE field (which allows NULL's).

what is the best way to load a NULL value into a DATE field?

Thanks in Advance.
dsguy1247
Premium Member
Premium Member
Posts: 33
Joined: Wed Feb 04, 2004 6:35 am
Contact:

Re: Inserting NULL value in a DATE field

Post by dsguy1247 »

Create this ENV variable and set its value to 1

APT_IMPEXP_ALLOW_ZERO_LENGTH_FIXED_NULL





poorna_76 wrote:Hi All,

Iam having problems bringing in a DateTime field coming from Oracle which as some NULL values and trying to load into Teradata DATE field (which allows NULL's).

what is the best way to load a NULL value into a DATE field?

Thanks in Advance.
Post Reply