sqlserver中對不規範時間的排序處理

select *,cast(replytime as smalldatetime) as dd from replycontent order by dd desc select * ,convert(varchar,replytime,20) as dd from replyContent order by dd
相關文章
相關標籤/搜索