Clayton Arends
Member²
I am having a little trouble retrieving the rowid of a record when I insert it. I read in the forum that the RowID() method of TOracleQuery doesn't always work (depending on the version of Oracle) and that the recommended way to retrieve this data is to use the "RETURNING INTO" clause. I have done this and it works fine on many systems. However, on one system I receive the following Oracle Error:
Here is my query:
All variables are declared otString.
The odd part is if I log into SQLPlus on the same system and create a PL/SQL block to perform the same task I do not receive an Oracle error. So am I to assume this is a SQL*Net problem or ... ?
Thanks for any help.
------------------
Clayton Arends
Sr. Software Developer
Evisions, Inc. http://evisions.com
[This message has been edited by Confusu (edited 28 May 2002).]
Code:ORA-03108: oranet: ORACLE does not support this interface version.
Here is my query:
Code:insert into evibcmac (evibcmac_account_type, evibcmac_activity_status,evibcmac_description) values ( :p1, :p2, :p3) returning rowid into :pRowId
All variables are declared otString.
The odd part is if I log into SQLPlus on the same system and create a PL/SQL block to perform the same task I do not receive an Oracle error. So am I to assume this is a SQL*Net problem or ... ?
Thanks for any help.
------------------
Clayton Arends
Sr. Software Developer
Evisions, Inc. http://evisions.com
[This message has been edited by Confusu (edited 28 May 2002).]