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.