Hi All,
When i am trying to load from Staging Database to Work Database the below error is coming.
Odbc Connector--->Tranformer Stage--->Odbc Connector
It's a plain one to one mapping, it consists of 6 char columns and 4 date columns.
Error:
ODBC function "SQLExecute" reported: SQLSTATE = 22001: Native Error Code = -302: Msg = [IBM(DataDirect OEM)][ODBC DB2 Wire Protocol driver][UDB DB2 for Windows, UNIX, and Linux]Character data, right truncation occurred
Please let me know whether i am missing anything?
Regards,
Sudheer
Data not loading to ODBC connector
Moderators: chulett, rschirm, roy
-
- Premium Member
- Posts: 55
- Joined: Tue Apr 24, 2007 1:26 am
Sounds like your staging data doesn't all fit in the work table. Are you certain you have all of your metadata correct and it should in fact fit without truncation? For example, a CHAR(6) to a CHAR(4) would cause that.
If all that is good you may have a codeset issue.
If all that is good you may have a codeset issue.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
-
- Premium Member
- Posts: 55
- Joined: Tue Apr 24, 2007 1:26 am
-
- Premium Member
- Posts: 55
- Joined: Tue Apr 24, 2007 1:26 am
That sounds like a support question to me. Also, I wasn't asking about the creation of the tables but rather the databases, since it seemed like you were talking about two different ones... or are 'staging' and 'work' in fact in the same database?
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers