delete
FROM dbo.News t
where exists(select * from dbo.User u where u.UserID = t.PostUserid
and (DATEDIFF(hh, u.JoinDate, GETDATE()) < 24) )服务器: 消息 170,级别 15,状态 1,行 2
第 2 行: 't' 附近有语法错误。
服务器: 消息 156,级别 15,状态 1,行 3
在关键字 'User' 附近有语法错误。
FROM dbo.News t
where exists(select * from dbo.User u where u.UserID = t.PostUserid
and (DATEDIFF(hh, u.JoinDate, GETDATE()) < 24) )服务器: 消息 170,级别 15,状态 1,行 2
第 2 行: 't' 附近有语法错误。
服务器: 消息 156,级别 15,状态 1,行 3
在关键字 'User' 附近有语法错误。
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货