My Oracle Support Banner

SQL Developer output Limited to 10000 Rows (Doc ID 1934839.1)

Last updated on APRIL 04, 2019

Applies to:

Oracle SQL Developer - Version 4.0 and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Cloud Schema Service - Version N/A 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;

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.