select case when datediff(dd,StartDate,getdate())>0 then datediff(dd,StartDate,getdate())*Money else 0 end MoneyTotal from yourTable
110,538
社区成员
642,577
社区内容
加载中
让您成为最强悍的C#开发者
试试用AI创作助手写篇文章吧