主题:一个疑问,大家看过来了
查询注册会员已经使用的天数
select getdate()+addtime as '剩下的天数' from User_login where id=2446
go
select addtime as '注册时间' from User_login where id=2446
go
select getdate() as '当前时间'
go
select getdate()+addtime as '剩下的天数' from User_login where id=2446
go
select addtime as '注册时间' from User_login where id=2446
go
select getdate() as '当前时间'
go