Pro*C question. Return value t to struct

From: Geoffrey Grandstaff <grandst_at_netcom.com>
Date: 1997/05/05
Message-ID: <grandstE9q8Kz.Gu_at_netcom.com>#1/1


Hi.

I was asked by a programmer today how to do the following:

During an insert into a table through a C++ program, the programmer inserts a row. One of the columns uses a sequence_name.NEXTVAL for its insert. Is there anyway to return that value to the program and update the structure without making another database call to the database? Thanks for your help. I have not had to use Pro*C very much and I am looking in the manual.

Geoff

--

/* ------------------------------------------
Geoff Grandstaff     | print STDOUT q
Oracle DBA/UNIX SA   | Just another Perl hacker,
ggrandst_at_aol.com     | unless $spring
grandst_at_netcom.com | - Larry Wall
------------------------------------------ */
Received on Mon May 05 1997 - 00:00:00 CEST

Original text of this message