Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 10 Feb 2009 @ 20:23:55 GMT


     
  <Prev Next>   <<First <Prev Next> Last>>  


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



     
  <Prev Next>   <<First <Prev Next> Last>>  
 
 
 
 
 
 
 
 
  
  Top Home Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 15 Jun 2023