Page 1 of 1

data insert error in oracle

Posted: Thu Jan 10, 2008 5:59 am
by vinodn
Hi all,

in my source 4 columns data type is varchar(1500)---SQL server
Target 4 columns data type is Varchar2(1500)--Oracle

when i ran the job i am getting the as error ora:1461 LONG data type value is not insert in to another data type value,
if i take the target columns meta data in target stage(oracle) as varchar(1500),varchar(1300),varchar(1300),varchar(1300), then data getting inserted.

My concern is whether Oracle will accept more than 1 column with Varchar2(1500) in one TABLE.

Thanks in Advance

Posted: Thu Jan 10, 2008 8:37 am
by chulett
To answer the question asked - yes, of course.

Long data type issue

Posted: Thu Jan 10, 2008 9:10 am
by vinodn
chulett wrote:To answer the question asked - yes, of course.
but when i ran the job i am getting the below error in the datastage

esql complaint: ORA-01461: can bind a LONG value only for insert into a LONG column

all source columns data type is varchar(1500) and respective target columns datatype is varchar2(1500)

Posted: Thu Jan 10, 2008 10:05 am
by chulett
We know, we've seen your other post. Have you run this by your Oracle DBA, see if they can shed any light on the issue?

Posted: Fri Jan 11, 2008 2:27 am
by vinodn
i have taken meta data for the 4 columns in the Target oracle stage as varchar(1300),varchar(1300),varchar(1300),varchar(1300) and respective Target table columns (oracle data base) data type as Varchar2(1500),Varchar2(1500),Varchar2(1500),Varchar2(1500), i ran the job, it is fine and data also geeting inserted.

Posted: Fri Jan 11, 2008 7:41 am
by chulett
Then as Ray would say - time to mark your post as Resolved then?