Viewing post 1 (of 1 total)
If the columns are not the same datatype, then you can use:
select * from
where selectColumn=@SelectValue
order by case when @SortParm='column1' then column1 end,
case when @SortParm='column2' then column2 end,
case when...
August 11, 2003 at 8:48 am
#469422