Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Fri, 26 Jul 2002 @ 08:02:12 GMT


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


Subj:   Re: Dec(18,0)
 
From:   David Clough

I tried that which you had problems with and got the correct results returned (i.e. it brought the correct row back).

This is what I did:

create table Table_AAA (
Key_col1 dec(18,0)
,ADate_col2 date
,AChar_col3 char(5)
,Another_Dec_col4 dec(3,0) title 'ADEC')
UNIQUE PRIMARY INDEX(Key_col1);

ins into Table_AAA  values (104230608995498370, '2002-07-24', 'AAAA',100);
ins into Table_AAA  values (214555555555567800, '2002-07-25',  ' BBBB', 200);
ins into Table_AAA  values (333333333333333500, '2002-07-26', 'CCCC', 300);

Sel * from Table_AAA where Key_col1 = 333333333333333500;
Result :
      Key_col1    ADate_col2  AChar_col3  ADEC
      333333333333333500      2002-07-26  CCCC  300

Hmmm ...... is my definition above exactly the same as yours? (by the way, I tried NUPI as well as UPI and that worked correctly as well). Sorry, can't reproduce the error.

Dave Clough - TNT



     
  <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