From alex_hillman@physia.com Wed, 31 Jan 2001 14:52:17 -0800 From: Alex Hillman Date: Wed, 31 Jan 2001 14:52:17 -0800 Subject: RE: Does Oracle Allow Retrieval of Parsed Insert Statement?? Message-ID: MIME-Version: 1.0 Content-Type: text/plain Title: RE: Does Oracle Allow Retrieval of Parsed Insert Statement?? You do not need OCI to do it. Returning supported everywhere one can use SQL.   Alex Hillman -----Original Message-----From: Jacques Kilchoer [mailto:Jacques.Kilchoer@quest.com]Sent: Wednesday, January 31, 2001 1:57 PMTo: Multiple recipients of list ORACLE-LSubject: RE: Does Oracle Allow Retrieval of Parsed Insert Statement?? > -----Original Message----- > From: Sam Bootsma [mailto:SamB@cpas.com] > Sent: mercredi, 31. janvier 2001 10:31 > To: Multiple recipients of list ORACLE-L > Subject: Does Oracle Allow Retrieval of Parsed Insert Statement?? > > > We have a situation where we insert rows into a table, without having > knowledge of the primary key.  One of our developers needs to > determine the > rowid of such a row (primary key unknown) immediately after the row is > inserted into the  table.  > > Does anybody know if the rowid can be retrieved (or somehow returned) > immediately after the row is inserted (without requerying the table)? From Oracle Call Interface Programmer's Guide Release 8.1.5 A67846-01 Chapter 5 Binding and Defining <     RETURNING col1, col2, col3      INTO :out1, :out2, :out3 >> ------ any ignorant comments made are the sole responsibility of J. R. Kilchoer and should not reflect adversely upon my employer.   Jacques R. Kilchoer (949) 754-8816 Quest Software, Inc. 8001 Irvine Center Drive Irvine, California 92618 U.S.A. http://www.quest.com