简体   繁体   中英

Exceed Maximum Length SQL

I am trying to insert values from other table.

TABLE A
SOURCE_NAME VARCHAR2(1500 BYTE)
to
TABLE B
PAYMENT_SOURCE_DESCRIPTION VARCHAR2(1500 BYTE)

BUT I AM GETTING THIS ERROR

Rejected - Error on table "APP1"."TABLE_B", column PAYMENT_SOURCE_DESCRIPTION. Field in data file exceeds maximum length

trim(TABLA_A.source_name) AS "Payment Source Description"

The error code looks like SQLLOADER. This has(had?) a default length of 255, so stating

PAYMENT_SOURCE_DESCRIPTION char(1500)

in the control file could possibly help. I'd have put this into a comment, but I'm new and cannot comment at the moment.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM