Tag Archives: sql order by

SQL Server – Dynamic Order By Clause

Yes, I’m too busy for SQL scripting job these recent weeks. I have a union select query that needed to be sorted per union but since it is not allowed to have order by in my unions, I have to … Continue reading

Posted in SQL, SQL Server | Tagged , , , , | Leave a comment