Last updated on MARCH 02, 2015
Applies to:Oracle SQL Developer - Version 4.0 and later
Information in this document applies to any platform.
On : SQL Developer 188.8.131.52.48, 184.108.40.206.21 & 220.127.116.11.84 version
OS : MS Windows 7 (64 bit)
Create a simple procedure as below to fetch records from the table which contains 25000 records or more.The procedure fetches only 10000 rows. Normal select query on the table gives complete output.
Procedure should provide the complete data in the table
The issue can be reproduced at will with the following steps:
1.Run the emp1000sofrecord.sql SQL script which will insert 25000 or more records to the emp table.
2.Connect to the same DB using SQL Developer.
3.Run the below statement which will provide all the data
SELECT * FROM emp;
4.Create a procedure as below, run the procedure which will fetch only 10000 records.
CREATE OR REPLACE PROCEDURE p01(rc1 OUT SYS_REFCURSOR)
OPEN rc1 FOR SELECT * FROM emp;
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms