Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Wed, 19 Dec 2007 @ 18:25:29 GMT


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


Subj:   LPAD similar function in teradata
 
From:   yogendra-wasudev.x.gijare

Hi,

I need one small help.

I need to display description accroding to my level values. For example.

     Level           DEscr
     0               XYZ
     1                        ABCD
     2                           CDDD
     3                              PPPP

Currently there are only 3 levels but in future i may get multiple levels. I dont want to hard code any values in select statement. Could anybody let me know if there is any function or statement available in teradat to get similar result set without hardcoding.


Regards

yogi



     
  <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