Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> trouble to insert into SYS.XMLType
hi all
this is code to insert into SYS.XMLType column (in *.pc file):
EXEC SQL PREPARE InsertObj FROM :oraSqlstmt; oraERR_CHECK(PersistentStore,CreateObject,uFalse);
EXEC SQL DESCRIBE BIND VARIABLES FOR InsertObj INTO _insertDesc; oraERR_CHECK(PersistentStore,CreateObject,uFalse);
_insertDesc->N = _insertDesc->F;
.
.
.
qdes->L[*col] = len; qdes->V[*col] = (char *) _dbBuffer; qdes->T[*col] = psOracleExternalTypeLONGVARCHAR; // Oralce LONG VARCHAR (94) qdes->I[*col] = & _dbIndicator;
but i have error
ORA-01461 can bind LONG value only for insert into a LONG column
whats wrong? may be for SYS.XMLType its need to use other type, but what
type?
P.S. sorry for my english Received on Thu Feb 19 2004 - 22:31:33 CST
![]() |
![]() |