sonar-openedge icon indicating copy to clipboard operation
sonar-openedge copied to clipboard

Deprecated FIND statement (Dataserver - Oracle)

Open dominickdm opened this issue 4 years ago • 2 comments

We have issues with FIND statements in combination with Oracle databases (using the progress Dataserver). To mimic progress behavior, the dataserver must keep multiple cursors open. Because of that, we always use OPEN QUERY or FOR FIRST instead.

A rule for this could be very usefull.

dominickdm avatar Dec 17 '20 10:12 dominickdm

Is there any Progress documentation or KB entry on that ?

gquerret avatar Dec 17 '20 20:12 gquerret

I only know of performance problems with the SQL DataServer, we use FOR FIRST instead of FIND at compile time based on database type, but we've never had to do this for Oracle DataServer for performance reasons.

https://documentation.progress.com/output/ua/OpenEdge_latest/index.html#page/dmsql%2Freplacing-find-first-for-performance.html

stefandrissen avatar Dec 17 '20 21:12 stefandrissen