Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 19 Dec 2000 @ 15:39:34 GMT


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


Subj:   Re: Pasring a SQL select result
 
From:   Jeremy Christiansen

You can insert carriage returns and line feeds using hexadecimal constants.

For example, consider the following:

.EXPORT DATA FC=E1;
SEL 'Line 1'!!'0D0A'xc!!'Line 2';
.EXPORT RESET;

This outputs the following to a file:

LINE 1
LINE 2

Note that a newline will only be created if you are exporting to a file. If you are just displaying text in the sysprint, you will need to use BTEQ formatting statements.



     
  <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