Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Database > Oracle
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Oracle General Oracle database discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Oracle section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old January 17th, 2011, 06:35 AM
Registered User
 
Join Date: Jan 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default ORA-20505

Can anyone please help me, id dont know why i keep getting this error while updating a form in apex.

ORA-20505: Error in DML: p_rowid=1179950, p_alt_rowid=ID, p_rowid2=, p_alt_rowid2=. ORA-01403: no data found
Error Unable to process row of table COM_ADVERT_TB.
OK

I have a automatic DML process, and a get pk process with the following:

declare
function get_pk return varchar2
is
begin
for c1 in (select COM_ADVERT_SEQ.nextval next_val
from dual)
loop
return c1.next_val;
end loop;
end;
begin
:P5_ID := get_pk;
end;

my cancel button has a condition id is null, and my apply changes has a condition id is not null.

CAn anyone please help me?
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DBLink ORA-12154 nkrust Oracle 2 May 20th, 2007 11:54 PM
ORA-14100 auxiora_nemesis Oracle 0 April 6th, 2007 04:25 AM
ORA-0134 db009 Oracle 0 February 23rd, 2007 06:04 AM
[Oracle][ODBC][Ora][ORA-01013 Corey Access 1 December 15th, 2006 10:29 AM
ORA-01006 ahrv Java Databases 1 September 20th, 2003 05:45 PM



All times are GMT -4. The time now is 12:15 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.