输入banner图图片脚本导航/分类

在SQLite Expert上用日期类型字段作为条件查询时注意日期的格式化

* from t_Records where 1==1 and R_CheckInTime > 2015-7-12 18:47:00 and R_CheckInTime < 2015-7-18 18:48:00

情况二:得到正确结果

select * from t_Records where 1==1 and R_CheckInTime > 2015-07-12 18:47:00 and  R_CheckInTime < 2015-07-18 18:48:00


注意:

    日期的格式化 是 DateTime.ToString("yyyy-MM-dd hh:mm:ss");

在SQLite Expert上用日期类型字段作为条件查询时注意日期的格式化

标签: