Home Forums SQL Server 2016 SQL Server 2016 - Development and T-SQL sort by column and date RE: sort by column and date
SGT_squeequal
SSCertifiable
Points: 7167
More actions
June 20, 2018 at 9:14 am
#1994660
SELECT * FROM TABLE_NAMEORDER BY 1,2
SELECT * FROM TABLE_NAMEORDER BY FISRTCOLUMN, SECONDCOLUMN
***The first step is always the hardest *******