Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 20 Nov 2003 @ 00:03:23 GMT


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


Subj:   ODBC and Truncated CHAR
 
From:   Kevin De Freitas

I have just upgraded my Teradata ODBC Driver from 2.08 to 3.10 and I am having an issue with CHAR truncation.

"Server Error [1012]: SQLFetch: rc = -1, SQLSTATE: 01004, Error Msg:[NCR][ODBC Teradata Driver] Character string truncated"

I have narrowed the problem down to fields that are defined as CHAR(5000). The error goes away when I SUBSTRING from 1 to 4000 characters.

I have found some comments in the ODBC manual - Implementation Notes about data truncation however the same comments appear for both versions.

Is any one able to help me out with this please?



     
  <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