Home Forums Article Discussions Article Discussions by Author Discuss content posted by mister.magoo Conditional Order By RE: Conditional Order By
Carlo Romagnano
SSC-Insane
Points: 22600
More actions
November 16, 2010 at 1:07 am
#1251137
I should remember implicit cast using CASE clause.
Good question. I refreshed implicit cast.
In sql2000, it gives error also with SET @sortby='Date1'. (Syntax error converting datetime from character string.), not in sql2005.