File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Oracle/OAS and the fly likes Procedure Error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Oracle/OAS
Bookmark "Procedure Error" Watch "Procedure Error" New topic
Author

Procedure Error

Eshwar Prasad
Ranch Hand

Joined: Mar 21, 2008
Posts: 202

i have requirement to delete huge data where i have to select data into small pieces and then delete it to avoid overload on database server. I have written a procedure for this, but it is not giving right output. I am getting error saying "one or more records are fetched". Can you please let me know where am i wrong.



here mytest table has 3 lakhs records. I want to select 1000 records everytime and delete them. Please help me.>
Eshwar Prasad
Ranch Hand

Joined: Mar 21, 2008
Posts: 202
any help?
Fatih Keles
Ranch Hand

Joined: Sep 01, 2005
Posts: 182
Hi Eshwar,

I really did not understand your procedure. Why don't you just use something like this?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Procedure Error