Hysterical ordering of data
May 11, 2007 9:12 PM
Subscribe
I am currently dealing with an Oracle-based application that on many of the screens returns data in what I call
"hysterical order" (seemingly random to the casual observer).
In fact, the application applies no ORDER BY logic to the underlying data, which ORACLE returns in an undefined order (actually the order the data was entered). This is useless in practice.
I don't have the ability to change the application in any way, but I
do have access to the database.
I am aware that it is non-standard in relational database theory to be able to specify a default ordering for tables, but in Oracle, are there in practice, any modifications I could make to the underlying tables that will not cause the app to break, but will allow me to specify the
default order of the data when there is no ORDER BY used? I can identify a column in each table which should be the default order.
It is a long time since I was a DBA, so I am a little rusty on current Oracle practice and capabilities.
posted by blue_wardrobe to computers & internet (28 comments total)
posted by Blazecock Pileon at 9:22 PM on May 11, 2007