Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: How to use in Stored procedure
sunnycal_98_at_yahoo.com (sunnycal_98_at_yahoo.com) wrote in message news:<9c592ada.0302121435.7b32f100_at_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;
I'd be surprised if you create a sequence in a store procedure, unless you use dynamic SQL. You can't perform DDL in PL/SQL.
Jim Lyons
DBA
University of Texas at Austin
Received on Thu Feb 13 2003 - 16:28:34 CST