Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

APex 4.1 Error ORA-01461: can bind a LONG value only for insert into a LONG

Ryansun-OracleJun 5 2012 — edited Jun 5 2012
Hi There,

Facing a strange issue.

I have a regular cursor, and in that cursor loop I have a select statement into some variables based on cursor parameters.

I was getting the "ORA-01461: can bind a LONG value only for insert into a LONG column" error so I started individually checking each of the columns. Now it works fine for some column, but the moment I add this number field. It starts throwing this error. Now, the database source where the select is fired is of type number, the variable into which I select it is number .

Infact, I dont have any LONG column defined anywhere.

The strange thing is that the block executes perfectly fine in SQl developer. So looks like a Apex specific issue.

I am on 4.1/11g

Any ideas?

Thanks,
Sun
This post has been answered by TexasApexDeveloper on Jun 5 2012
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 3 2012
Added on Jun 5 2012
6 comments
4,518 views