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 -> Re: ORA-12838 error on a stored procedure

Re: ORA-12838 error on a stored procedure

From: <pankaj_wolfhunter_at_yahoo.co.in>
Date: 24 Mar 2007 06:35:46 -0700
Message-ID: <1174743346.787398.12520@l77g2000hsb.googlegroups.com>


On Mar 22, 3:38 pm, "DVD" <billi.da..._at_gmail.com> wrote:
> > The procedure you posted is incorrect.
> > One single rowid won't occur in two tables ever.
>
> I don't understand if you talk about these steps:
>
> 1) INSERT INTO NAMES ... WHERE ROWID = row_id (i)
>
> 2) DELETE FROM TEMP WHERE ROWID = row_id (i)
>
> Because in fact them are:
>
> 1) INSERT INTO NAMES (...) SELECT (...) FROM TEMP WHERE ROWID =
> row_id (i)
>
> 2) DELETE FROM TEMP WHERE ROWID = row_id (i)
>
> Thanks

Just a wild guess. If possible try to give a COMMIT after INSERT INTO NAMES.... part.
let us know if that helps. Received on Sat Mar 24 2007 - 08:35:46 CDT

Original text of this message

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