Pro*C question. Return value t to struct

From: Geoffrey Grandstaff <>
Date: 1997/05/05
Message-ID: <>#1/1


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 Grandstaff     | print STDOUT q
Oracle DBA/UNIX SA   | Just another Perl hacker,     | unless $spring | - Larry Wall
------------------------------------------ */
Received on Mon May 05 1997 - 00:00:00 CEST

Original text of this message