Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Wed, 12 Jun 2002 @ 09:18:38 GMT


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


Subj:   Casting to char
 
From:   Anomy.Anom

Anyone,

How can i cast an integer to a char within a selection so its possible to use a string function

example:

Select *
from table
where substr(stringvarX,4,1) = '5060'

But stringvarX is an integer


Thanks in advance

Anomy.Anom



     
  <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: 27 Dec 2016