Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 22 Jul 2003 @ 09:59:54 GMT


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


Subj:   SELECT SIGN(-5) is not working in Teradata
 
From:   Jaganathan, Rameshkumar

Hi,

I want to get the sign of the data,

In SQL SERVER

SELECT SIGN(-5) will return -1,
SELECT SIGN(5) will return +1,
SELECT SIGN(0) will return 0.

Is any function like this available in Teradata?

Your help will be very much appriciated.


Regards

Ramesh



     
  <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