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: DVD <billi.david_at_gmail.com>
Date: 22 Mar 2007 03:38:02 -0700
Message-ID: <1174559882.583243.161910@l75g2000hse.googlegroups.com>


> 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 Received on Thu Mar 22 2007 - 05:38:02 CDT

Original text of this message

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