Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Fri, 03 Sep 2004 @ 18:15:45 GMT


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


Subj:   Re: Displaying $ Format
 
From:   paul.burns

"I am trying a query like this

     SELECT 0.19 (FORMAT '$zzz9.99') (CHAR(10)) || '-$' || 90.99 (FORMAT '$zzz9.99') (CHAR(10))

but its not workin out "

You could try this:

     select c from (
      SELECT 0.19 (FORMAT '$zzz9.99') (CHAR(10))  a ,  90.99 (FORMAT '$zzz9.99') (CHAR(10)) b, a || ' -- ' || b c ) dt

Paul



     
  <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