SQLDescribeParam returns SQL_ERROR with 7.1 SQL Server Wire Protocol driver when query contains ORDER BY
For a parameterized SELECT query that contains an ORDER BY clause before a WHERE or FROM clause, when attempting to execute the SQLDescribeParam method, the driver returned SQL_ERROR.