My Oracle Support Banner

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

Symptoms

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.

Example:

Note: The BLR also indicates ASCENDING.

Cause

To view full details, 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 a vibrant support community of peers and Oracle experts.