I have a project work where there was a requirement that, there's a way using MSSQL to dynamically determine what column should be ordered by in a select, This is because the main motive behind creating this is to look into sorting tables by a column designated given some input, and when i search for that on the internet I found that there is no easy way to do this. Does anyone provide me simple way to achieve this.
Thanks
Bookmarks