IBM DB2 Error Code -20211 – the specification order by or fetch firs

In this post, you’ll learn about the IBM DB2 Error -20211 and the reason why you are receiving it

IBM DB2 Error Code :

-20211

Reason for this Error in DB2

THE SPECIFICATION ORDER BY OR FETCH FIRST N ROWS ONLY IS INVALID