Tag Archives: Sorting by Column

Dynamically sorting by a column in a Stored Procedure (SQL Server)

Have you ever needed to build a stored procedure that would take the name of a column as a parameter, and return the results ordered by that column? So have I, so after researching it for a couple of days, … Continue reading

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