简述一下2个SQL 是否有区别a) select * from g_cardapply where g_applydate like '2011-01-01%' ;b) select * from g_cardapply where g_applydate >= '2011-01-01 00:00:00' and g_applydate <= '2011-01-01 23:59:59’;
一个是 全表比对(或者能走索引)另外一个应该是 时间函数比对, 感觉性能会好一点
关于TWT使用指南社区专家合作厂商入驻社区企业招聘投诉建议版权与免责声明联系我们 © 2024talkwithtrend — talk with trend,talk with technologist京ICP备09031017号-30