Archives of the TeradataForum
Message Posted: Thu, 20 Nov 2003 @ 00:03:23 GMT
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?
|