请问用linq to sql 模糊查询日期字段怎么写 我想查询某年某月的数据
sql如下写:SELECTDATEFROMTABLEWHERE(DATEDIFF(M,DATE,CONVERT(varchar(10),'2011-09-01',120)...
sql如下写:
SELECT DATE
FROM TABLE
WHERE (DATEDIFF(M, DATE, CONVERT(varchar(10), '2011-09-01', 120)) = 0)
怎么用linqsql写 展开
SELECT DATE
FROM TABLE
WHERE (DATEDIFF(M, DATE, CONVERT(varchar(10), '2011-09-01', 120)) = 0)
怎么用linqsql写 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询