You could assign the CURRVAL-value to a variable after each INSERT statement. But that wouldn't work on tables without an SERIAL column.That is great, but is it possible to obtain last inserted value with query that doesn't depend on table name?P.S. Something like: "SELECT $currval FROM SYSDBA.DUAL" ;-)
You might also walk the hard way, and try to analyse each INSERT statement to extract the table-name and save that for the call to the getID()-method.
_______________________________________________
sapdb.general mailing list
[EMAIL PROTECTED]
http://listserv.sap.com/mailman/listinfo/sapdb.general
