create table Test
(
BigID varchar(2),
times datetime
)
insert into Test values('a',getdate())select * from Test where times like %getdate()% 为什么不对呀 ?
--------------------------------------------------------------------
getdate() 返回的是 年-月-日 时:分:秒:......
我就像要 年-月-日 怎么办?
(
BigID varchar(2),
times datetime
)
insert into Test values('a',getdate())select * from Test where times like %getdate()% 为什么不对呀 ?
--------------------------------------------------------------------
getdate() 返回的是 年-月-日 时:分:秒:......
我就像要 年-月-日 怎么办?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货