Sql server 从字符串转换日期和/或时间时转换失败
我正在尝试执行以下查询,它在标题中显示了错误,我没有在这里转换日期或时间。不确定为什么会显示错误Sql server 从字符串转换日期和/或时间时转换失败,sql-server,datetime,Sql Server,Datetime,我正在尝试执行以下查询,它在标题中显示了错误,我没有在这里转换日期或时间。不确定为什么会显示错误 select * from [dbo].[Data] where [Report Month] between '2015-05-01' and '2015-06-31' and [FTE Status]='Inactive' 提前谢谢 没有6月31日。没有6月31日。我的错,谢谢你,巴德!我的错,谢谢你,巴德!
select *
from [dbo].[Data]
where [Report Month] between '2015-05-01' and '2015-06-31'
and [FTE Status]='Inactive'
提前谢谢 没有6月31日。没有6月31日。我的错,谢谢你,巴德!我的错,谢谢你,巴德!