troubleshooting Question

Limit SQL result set based on SIZE

Avatar of Julie Kurpa
Julie KurpaFlag for United States of America asked on
DatabasesOracle DatabaseSQL
46 Comments1 Solution62 ViewsLast Modified:
I'm an oracle dba and have been asked by developers to help them limit the result set size produced by a particular procedure within a Package.

The package was coded by a vendor who is no longer in the picture and the developers have limited understanding of how things all work together. It's all very complicated and nobody wants to be the one who "touched" it and broke it.

The problem is intermittent where the result set of the package is over the size limit that the 3rd party application can accept (4MB).  

I suppose the package query can be modified to limit the row count but before recommending that route, I'd like to know if there's a way to do it at a database level?

This is Oracle 11g Enterprise (yes we are working to migrate to Oracle 19c but can't cutover yet).  

I've been searching and cannot find any solutions other than modifying the package sql to limit the rows.  

Any suggestions?
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 46 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 46 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros