Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 25 Nov 2004 @ 15:43:21 GMT


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


Subj:   Re: Fast Export Decimal problem
 
From:   Michael Larkins

          case
           when field1 is null then -999.99
           else field1
          end

The COALESCE is implimented with a CASE statement. It could be used in the SELECT to turn a NULL into anything desired.

As an example:

     SELECT COALESCE(null_column,999999.99)
     from my_table;

See if this doesn't get you what you are looking for.


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