Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Mon, 06 Oct 2008 @ 15:55:37 GMT


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


Subj:   BTEQ Export - concatenating null values
 
From:   Schabek Lukasz

Hi,

How to concatenate NULL values with other values from query?

The example below doesn't work; I'm getting only '?' value in FSAMPLE.txt.

     ---------------------------

     .export reset
     .export report file = FSAMPLE.txt
     .set FORMAT OFF
     .set WIDTH 200
     .set NULL AS '.'

     SELECT
        'A'||';'||'A'||';'||'A'||';'||NULL||';'||'A'||';'||'A'||';'||'A'||';'||'A'||';'||'A'||';'||'A'||';'||'A'(TITLE '')
        ;

     .export reset

     .quit


     
  <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