|
|
Archives of the TeradataForum
Message Posted: Tue, 15 Sep 2009 @ 14:01:37 GMT
Subj: | | Re: INTEGER to VARCHAR data conversion strange |
|
From: | | Anderson, Dirk |
We are on TD 12 also, but the 1 does not disappear when we do the following...
CREATE TABLE user_work.i
(a INTEGER)
CREATE TABLE user_work.x
(a VARCHAR(20))
INS INTO user_work.i VALUES (1);
INS INTO user_work.x
SEL * FROM user_work.i;
SEL char_length(a)
,a
FROM user_work.x;
Answerset:
Characters(a) a
-------------------
11 1
Thanks.
Dirk Anderson
Architect
| |