| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.misc -> Getting sequence number using ADO
I am writing a VB program using ADO to access an Oracle database.
Primary keys are generated using sequences. When a row is inserted I
want to find the sequence number just generated. Is the best approach
to this to lock the table before doing the insert, get the sequence
number and then release the lock? If so how do I do this with ADO?
Thanks in advance.
Received on Tue Feb 23 1999 - 02:47:38 CST
![]() |
![]() |