Links
Home
Oracle DBA Forum
Frequent Oracle Errors
TNS:could not resolve the connect identifier specified
Backtrace message unwound by exceptions
invalid identifier
PL/SQL compilation error
internal error
missing expression
table or view does not exist
end-of-file on communication channel
TNS:listener unknown in connect descriptor
insufficient privileges
PL/SQL: numeric or value error string
TNS:protocol adapter error
ORACLE not available
target host or object does not exist
invalid number
unable to allocate string bytes of shared memory
resource busy and acquire with NOWAIT specified
error occurred at recursive SQL level string
ORACLE initialization or shutdown in progress
archiver error. Connect internal only, until freed
snapshot too old
unable to extend temp segment by string in tablespace
Credential retrieval failed
missing or invalid option
invalid username/password; logon denied
unable to create INITIAL extent for segment
out of process memory when trying to allocate string bytes
shared memory realm does not exist
cannot insert NULL
TNS:unable to connect to destination
remote database not found'>ora-02019
exception encountered: core dump
inconsistent datatypes
no data found
TNS:operation timed out
PL/SQL: could not find program
existing state of packages has been discarded
maximum number of processes exceeded
error signaled in parallel query server
ORACLE instance terminated. Disconnection forced
TNS:packet writer failure
see ORA-12699
missing right parenthesis
name is already used by an existing object
cannot identify/lock data file
invalid file operation
quoted string not properly terminated
ORA-01406: fetched column value was truncated

ORA-01406: fetched column value was truncated

2004-04-09       - By thump604@(protected)
Reply:     1     2     3     4     5     6  

It is actualy just a select statement. If I run the statement alone, it does not error, but when run through Informatica, it generates error.

SELECT S_ASGN_GRP.PR_POSTN_ID AS PR_POSTN_ID, UPPER(ITEM_COUNTRY.LO_CHAR1) AS COUNTRY, ITEM_ZIPCODE.LO_CHAR1 AS LO_ZIPCODE FROM
S_ASGN_GRP,
S_ASGN_RULE RULE_ZIPCODE,
S_ASGN_RULE RULE_COUNTRY,
S_ASGN_RULE_ITEM ITEM_ZIPCODE,
S_ASGN_RULE_ITEM ITEM_COUNTRY
WHERE
ITEM_ZIPCODE.ASGN_RULE_ID = RULE_ZIPCODE.ROW_ID AND
RULE_ZIPCODE.ITEM_TYPE_NAME = 'Account Zip Code ' AND
RULE_ZIPCODE.ASGN_GRP_ID = RULE_COUNTRY.ASGN_GRP_ID AND
RULE_COUNTRY.ITEM_TYPE_NAME = 'Account Country ' AND
RULE_COUNTRY.ROW_ID = ITEM_COUNTRY.ASGN_RULE_ID AND
RULE_ZIPCODE.ASGN_GRP_ID = S_ASGN_GRP.ROW_ID AND
S_ASGN_GRP.NAME LIKE 'ECC% ' ORDER BY COUNTRY,LO_ZIPCODE,PR_POSTN_ID
Function: Fetch
Error: ORA-01406 (See ORA-01406.ora-code.com): fetched column value was truncated

--
- David Life is what happens while waiting
or planning for the future.
> When a receiving vaiable is defined shorter than the actual column length,
> the column gets truncated during the fetch. So, you probably perform some
> 'fetch into .... ' or 'select .... into ... ', and should define a larger
> variable to store all of the fetched data.
>
> Regards, Carel-Jan
>
> ===
> If you think education is expensive, try ignorance. (Derek Bok)
> ===
>
> > Can anyone provide an explanation on what this errror means and why we
> > would get it on a select statment once, but not again.
> > I found very little info on MEtalink.
> > Thanks!
> >
> > --
> > - David
> > Life is what happens while waiting
> > or planning for the future.
> > -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
> > Please see the official ORACLE-L FAQ: http://www.orafaq.com
> > -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
> > To unsubscribe send email to: oracle-l-request@(protected)
> > put 'unsubscribe ' in the subject line.
> > --
> > Archives are at http://www.freelists.org/archives/oracle-l/

> > FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
> > -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
> >
>
>
>
> -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
> To unsubscribe send email to: oracle-l-request@(protected)
> put 'unsubscribe ' in the subject line.
> --
> Archives are at http://www.freelists.org/archives/oracle-l/
> FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
> -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --

-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
To unsubscribe send email to: oracle-l-request@(protected)
put 'unsubscribe ' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --