SQL Developer output Limited to 10000 Rows

(Doc ID 1934839.1)

Last updated on MARCH 02, 2015

Applies to:

Oracle SQL Developer - Version 4.0 and later
Information in this document applies to any platform.

Symptoms

On : SQL Developer 4.0.1.14.48, 4.0.2.15.21 & 4.0.3.16.84 version
OS : MS Windows 7 (64 bit)

ACTUAL BEHAVIOR
---------------------
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.

EXPECTED BEHAVIOR
-----------------------
Procedure should provide the complete data in the table

STEPS
---------

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)
AS
BEGIN
  OPEN rc1 FOR SELECT * FROM emp;
END;

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms