Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 14 Jan 2010 @ 14:52:55 GMT


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


Subj:   Implicit CASTING issue
 
From:   Rajiv Khurana

Hi ALL,

I have a table TEST that has one row and one column. The column is defined as VARCHAR(240). I inserted an integer value = 1 into the field . Then I ran the explian plan on the following query

     EXPLAIN SELECT * FROM TEST
     WHERE ID = 1

Looking at the explain plan I was just wondering how does the data get stored in the table. It look like exponential values are getting generated. Any help on this would be appreciated.

     " ID (FLOAT, FORMAT
     '-9.99999999999999E-999'))= 1.00000000000000E 000") into Spool 1
     (group_amps), which is built locally on the AMPs.  The size of
     Spool 1 is estimated with no confidence to be 8 rows (824 bytes).


     
  <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