Archives of the TeradataForum
Message Posted: Tue, 10 Feb 2009 @ 20:23:55 GMT
Subj: | | Re: Multiload SQL and Case statement |
|
From: | | Michael Larkins |
Michelle:
The first thing I would recommend that you do is compare apples with apples. Besides, what day of the month is '1_' and how can you keep that
one?
Regardless, you are comparing a two-byte char field out of SUBSTR with a number and making MLoad do a conversion. If you are comparing
wouldn't a better comparison be BETWEEN '01' and '31' for day and '01' and '12' for month?
Regards,
Michael Larkins
Certified Teradata Master
Certified Teradata SQL Instructor
|