Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> How to use in Stored procedure

How to use in Stored procedure

From: <sunnycal_98_at_yahoo.com>
Date: 12 Feb 2003 14:35:27 -0800
Message-ID: <9c592ada.0302121435.7b32f100@posting.google.com>


Hi,
I have executed the following statement and want to get help using them in Oracle Stored Procedure.

 Create sequence do_id start with 1;

 create or replace procedure getid as is id number;

 my question is how to use the sequence creation statement within the procedure and return the id back from stored procedure to calling programs.

thanks for the help.

Sunny Received on Wed Feb 12 2003 - 16:35:27 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US