Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.tools -> Re: Returning Sequence Numbers In VB
Wrap the call to the sequence in a stored procedure and call the stored procedure before insert of the record, or better still : leave the sequence generation to an Oracle before insert trigger.
Hth,
Sybrand Bakker, Oracle DBA
"Ben Ralph" <ben_at_ralph.demon.co.uk> wrote in message
news:978982105.18343.0.nnrp-10.c2de4ac6_at_news.demon.co.uk...
> When writing a new record to an Oracle table how can I have the sequence
> number returned to my VB app.
>
> --
> Ben Ralph
> MCP
>
>
Received on Mon Jan 08 2001 - 14:12:36 CST