Archives of the TeradataForum
Message Posted: Thu, 25 Nov 2004 @ 14:19:12 GMT
Subj: | | Re: Fast Export Decimal problem |
|
From: | | Geoffrey Rommel |
| I'm trying to Fast Export from a table which has a number of Decimal fields in it. Some of these fields are Nullable. | |
I agree with Jonathan that case expressions are called for -- probably something like
case
when field1 is null then -999.99
else field1
end
and so on.
Another possibility is to write a Cobol exit from FastExport that would insert the rows directly into DB2. I don't know whether that would be
faster than exporting & loading. The principles for writing such an exit are discussed in this paper:
www.teradataforum.com/l030315a.htm
|