Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 31 Jul 2003 @ 19:43:21 GMT


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


Subj:   Re: CONVERTING NULLS
 
From:   Fuller, Joe

Well, instead of multiple updates you could...

UPDATE TD_TABLE
   SET RECORD_ID   = COALESCE(RECORD_ID,' ')
      ,PROCESS_NUM = COALESCE(PROCESS_NUM,0)
      ,DATE_FILLED = COALESCE(DATE_FILLED,'0001-01-01')
   ...
;

Best Regards,

Joe Fuller
Sr Data Warehouse Consultant, DBA
Teradata Professional Services



     
  <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