Splitting Date into 2 Columns (Date + Time) in SQL

后端 未结 4 1082
醉酒成梦
醉酒成梦 2020-12-11 06:12

I\'m trying to convert the Date key in my table which is numeric into date time key. My current query is:

  SELECT 
  DATEADD(HOUR,-4,CONVERT(DATETIME,LEFT         


        
4条回答
提交回复
热议问题