RDBPROD: Unexpected Behavior When Using Descending vs Desc in SQLMOD SELECT
(Doc ID 66336.1)
Last updated on MAY 25, 2017
Applies to:Oracle Rdb Server on OpenVMS - Version 6.1 and later
HP OpenVMS VAX
HP OpenVMS Alpha
HP OpenVMS Itanium
You have created an SQLMOD routine that has a SELECT statement using ORDER BY x specifying DESCENDING. The results are not what you expected; ie., the results are in ASCENDING order even though you specified DESCENDING.
Note: The BLR also indicates ASCENDING.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!