RDBPROD: Unexpected Behavior When Using Descending vs Desc in SQLMOD SELECT
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.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms