摘要:
这种问题在xml处理sql的程序中经常需要我们来进行特殊处理。 其实很简单,我们只需作如下替换即可避免上述的错误: < <= > >= & ' " < <= > >= & ' " 例如常见的时间比较: <select id="select" par 阅读全文
posted @ 2021-03-16 16:48
一介桃白白
阅读(1944)
评论(0)
推荐(0)
摘要:
当天数据: 0点--当前时间 select * from tableName where datediff(day, 字段名,getdate())=0 昨天当前时间--今天当前时间 select * from tableName where datediff(HH, 字段名,getdate())<2 阅读全文
posted @ 2021-03-16 11:50
一介桃白白
阅读(530)
评论(0)
推荐(1)

浙公网安备 33010602011771号