Calculate open hours

后端 未结 1 1948
独厮守ぢ
独厮守ぢ 2021-01-29 15:08

I am using a SQL query

select 
    datediff(hour, Convert(DateTime, Convert(DateTime, Convert(nVarChar, cast(complaintdate as datetime), 101)) + \'\' +  
                


        
相关标签:
1条回答
  • 2021-01-29 15:27

    I agree with Jon Skeet's comment, but to answer your question, surely you only need to add a where clause: "where [Open Hours] > 500"?

    0 讨论(0)
提交回复
热议问题