SQL Server Error Code – 8126 column “%.*ls.%.*ls” is invalid in the o

In this blog post, you’ll learn more about the SQL Server Error Code 8126 and the error message description that is shown

SQL Server Error Code

8126

SQL Server Error Description for the Code :8126

Column “%.*ls.%.*ls” is invalid in the ORDER BY clause because it is not contained in an aggregate function and there is no GROUP BY clause.