Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Stored Procedure Help
Aaron Rouse wrote:
> Thanks, Andrew's select statement is working since I tested it outside
> of the stored procedure. However when running the SP it ends up
> hanging just like my prior one did. We are running 8i here, I believe
> 8.1.7
Inside the cursor loop put the following code:
i := i+1;
INSERT INTO audit_tab
VALUES
(TO_CHAR(i) || '-' || SAPORG_NEW);
COMMIT;
Watch the audit table from another session. That will answer the question
as to wheher it is running or hanging.
Daniel Morgan Received on Fri Feb 14 2003 - 10:43:52 CST
![]() |
![]() |