BP002

ORDER BY clause with constants

Constants are being used in the ORDER BY clause.

The use of constants in the ORDER BY is deprecated for future removal. Constants in the ORDER BY clause make queries more difficult to understand.


This documentation contains proprietary information and is protected by copyright law.
Copyright © 2026 Red Gate Software Limited. All rights reserved


Didn't find what you were looking for?