on 05-18-2010 6:15 PM
Hi,
I have a problem with sap ecc 6.0 with UNICODE.
I have:
DATA: BEGIN OF mytable OCCURS 0 ,
my_var(4000),
end OF mytable.
EXEC SQL.
INSERT INTO TABLE@IFSAP
(EVENT_CODE)
VALUES
(:TO_SINGLE_BYTE(:mytable-my_var))
ENDEXEC.
Help ME!
ORA-01461: can bind a LONG value only for insert into a LONG column
You can not insert a value which is of length more than 4000 into a LONG column of a table. But, you can get fetch the LONG column from the table and store it into a variable of type LONG. That is why you are getting the error.
Hope this helps... !
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.